最接近的命名颜色 · #406EA5
#406EA5
最接近的命名颜色: Song of the Sea
#406EA5(rgb(64 110 165)、hsl(213 44% 45%)、oklch(0.531 0.101 253.9))最接近命名颜色 Song of the Sea。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#406EA5
oklch(0.531 0.101 253.9)
颜色转换
- HEX
- #406ea5
- RGB
- rgb(64 110 165)
- HSL
- hsl(213 44% 45%)
- HWB
- hwb(213 25% 35%)
- OKLCH
- oklch(0.531 0.101 253.9)
- OKLab
- oklab(0.531 -0.028 -0.097)
- CIE Lab
- lab(45.08 -2.86 -34.94)
- LCH
- lch(45.08 35.06 265.3)
- CMYK
- cmyk(61% 33% 0% 35%)
浅色调 · 深色调 · 灰色调
浅色调
- 537CAE
- 658AB8
- 7898C1
- 8AA7CA
- 9DB5D3
- B0C4DC
- C4D2E5
- D7E1EE
- EBF0F6
深色调
- 365F8F
- 2D5079
- 244165
- 1B3351
- 13263D
- 0B192B
- 050E1A
- 01040A
- 000101
灰色调
- 4770A2
- 4E729E
- 55749B
- 5B7697
- 627894
- 687A90
- 6E7B8C
- 747D88
- 7A7F84
配色和谐
互补色 +180°
- 406EA5
Song of the Sea
- 8E621B
≈ Kumera
类似色 -30° +30°
- 406EA5
Song of the Sea
- 007896
≈ Celestial
- 6563A4
≈ Blue Iris
三角配色 +120° +240°
- 406EA5
Song of the Sea
- 9D525A
≈ Cuban Rhythm
- 537939
≈ Luck of the Irish
分裂互补色 +150° +210°
- 406EA5
Song of the Sea
- 9C5739
≈ Cinnamon Sparkle
- 766E1B
≈ Olivetone
四角配色 +90° +180° +270°
- 406EA5
Song of the Sea
- 94537A
≈ Sea Fan Fuchsia
- 8E621B
≈ Kumera
- 217E5C
≈ Verdant Green
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--song-of-the-sea: #406ea5;
--song-of-the-sea-rgb: 64 110 165;
--song-of-the-sea-oklch: oklch(0.531 0.101 253.9);
}
.element {
color: var(--song-of-the-sea);
background-color: hsl(213 44% 45%);
border-color: oklch(0.531 0.101 253.9);
}Tailwind CSS v4
@theme {
--color-song-of-the-sea: #406ea5;
--color-song-of-the-sea-50: #e3f7ff;
--color-song-of-the-sea-100: #d2eaff;
--color-song-of-the-sea-200: #b8d7ff;
--color-song-of-the-sea-300: #96baeb;
--color-song-of-the-sea-400: #74a2d9;
--color-song-of-the-sea-500: #5489c7;
--color-song-of-the-sea-600: #4874a8;
--color-song-of-the-sea-700: #395d87;
--color-song-of-the-sea-800: #274464;
--color-song-of-the-sea-900: #1a2f46;
--color-song-of-the-sea-950: #0a1b2e;
}SCSS
$song-of-the-sea: #406ea5;
$song-of-the-sea-rgb: 64, 110, 165;
$song-of-the-sea-light: mix(#fff, $song-of-the-sea, 20%);
$song-of-the-sea-dark: mix(#000, $song-of-the-sea, 20%);
.element {
color: $song-of-the-sea;
box-shadow: 0 0 0 2px rgba($song-of-the-sea, 0.35);
}