最接近的命名颜色 · #406EA8
#406EA8
最接近的命名颜色: Song of the Sea
#406EA8(rgb(64 110 168)、hsl(213 45% 45%)、oklch(0.532 0.105 255))最接近命名颜色 Song of the Sea。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#406EA8
oklch(0.532 0.105 255)
颜色转换
- HEX
- #406ea8
- RGB
- rgb(64 110 168)
- HSL
- hsl(213 45% 45%)
- HWB
- hwb(213 25% 34%)
- OKLCH
- oklch(0.532 0.105 255)
- OKLab
- oklab(0.532 -0.027 -0.101)
- CIE Lab
- lab(45.21 -2.03 -36.49)
- LCH
- lch(45.21 36.55 266.8)
- CMYK
- cmyk(62% 35% 0% 34%)
浅色调 · 深色调 · 灰色调
浅色调
- 537CB1
- 658ABA
- 7899C3
- 8AA7CC
- 9DB5D5
- B0C4DD
- C4D2E6
- D7E1EE
- EBF0F7
深色调
- 365F92
- 2D507C
- 244167
- 1B3352
- 13263F
- 0B192C
- 050E1A
- 01040A
- 000101
灰色调
- 4770A4
- 4E72A1
- 55749D
- 5B7699
- 627895
- 687A91
- 6E7B8D
- 747D89
- 7A7F84
配色和谐
互补色 +180°
- 406EA8
Song of the Sea
- 8F6214
≈ Kumera
类似色 -30° +30°
- 406EA8
Song of the Sea
- 007898
≈ Pristine Seas
- 6763A7
≈ Blue Iris
三角配色 +120° +240°
- 406EA8
Song of the Sea
- A05159
≈ Cranberry Jam
- 517A38
≈ Luscious Lemongrass
分裂互补色 +150° +210°
- 406EA8
Song of the Sea
- 9E5735
≈ Cinnamon Sparkle
- 766F16
≈ Bronze Yellow
四角配色 +90° +180° +270°
- 406EA8
Song of the Sea
- 97527A
≈ Sea Fan Fuchsia
- 8F6214
≈ Kumera
- 187F5D
≈ Spanish Viridian
对比度与无障碍
Ag
AA白底
WCAG 5.23:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.01:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--song-of-the-sea: #406ea8;
--song-of-the-sea-rgb: 64 110 168;
--song-of-the-sea-oklch: oklch(0.532 0.105 255);
}
.element {
color: var(--song-of-the-sea);
background-color: hsl(213 45% 45%);
border-color: oklch(0.532 0.105 255);
}Tailwind CSS v4
@theme {
--color-song-of-the-sea: #406ea8;
--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: #95baed;
--color-song-of-the-sea-400: #74a1dc;
--color-song-of-the-sea-500: #5488ca;
--color-song-of-the-sea-600: #4873ab;
--color-song-of-the-sea-700: #395c89;
--color-song-of-the-sea-800: #274466;
--color-song-of-the-sea-900: #1a2f47;
--color-song-of-the-sea-950: #0a1b2f;
}SCSS
$song-of-the-sea: #406ea8;
$song-of-the-sea-rgb: 64, 110, 168;
$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);
}