最接近的命名颜色 · #406CB1
#406CB1
最接近的命名颜色: Song of the Sea
#406CB1(rgb(64 108 177)、hsl(217 47% 47%)、oklch(0.533 0.119 259.1))最接近命名颜色 Song of the Sea。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#406CB1
oklch(0.533 0.119 259.1)
颜色转换
- HEX
- #406cb1
- RGB
- rgb(64 108 177)
- HSL
- hsl(217 47% 47%)
- HWB
- hwb(217 25% 31%)
- OKLCH
- oklch(0.533 0.119 259.1)
- OKLab
- oklab(0.533 -0.023 -0.117)
- CIE Lab
- lab(45.02 1.65 -42.03)
- LCH
- lch(45.02 42.07 272.2)
- CMYK
- cmyk(64% 39% 0% 31%)
浅色调 · 深色调 · 灰色调
浅色调
- 527BB9
- 6589C2
- 7797CA
- 8AA6D2
- 9DB5DA
- B0C3E1
- C3D2E9
- D7E1F1
- EBF0F8
深色调
- 365D99
- 2D4E83
- 24406C
- 1B3257
- 132542
- 0B192F
- 050D1C
- 01040C
- 000001
灰色调
- 476FAD
- 4E71A8
- 5473A3
- 5B759F
- 61779A
- 687995
- 6E7B90
- 747D8B
- 7A7E85
配色和谐
互补色 +180°
- 406CB1
Song of the Sea
- 8F6400
≈ Alligator
类似色 -30° +30°
- 406CB1
Song of the Sea
- 00779D
≈ Sea Sight
- 6C5FAD
≈ Blue Marguerite
三角配色 +120° +240°
- 406CB1
Song of the Sea
- A74C51
≈ English Red
- 457D35
≈ Master Chief
分裂互补色 +150° +210°
- 406CB1
Song of the Sea
- A25425
≈ Warmth
- 727100
≈ Bronze Yellow
四角配色 +90° +180° +270°
- 406CB1
Song of the Sea
- 9E4D77
≈ Orchid Lei
- 8F6400
≈ Alligator
- 008062
≈ Generic Viridian
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--song-of-the-sea: #406cb1;
--song-of-the-sea-rgb: 64 108 177;
--song-of-the-sea-oklch: oklch(0.533 0.119 259.1);
}
.element {
color: var(--song-of-the-sea);
background-color: hsl(217 47% 47%);
border-color: oklch(0.533 0.119 259.1);
}Tailwind CSS v4
@theme {
--color-song-of-the-sea: #406cb1;
--color-song-of-the-sea-50: #e2f6ff;
--color-song-of-the-sea-100: #d2e9ff;
--color-song-of-the-sea-200: #b8d5ff;
--color-song-of-the-sea-300: #95b8f5;
--color-song-of-the-sea-400: #739fe5;
--color-song-of-the-sea-500: #5486d4;
--color-song-of-the-sea-600: #4771b3;
--color-song-of-the-sea-700: #395b90;
--color-song-of-the-sea-800: #26436b;
--color-song-of-the-sea-900: #192e4b;
--color-song-of-the-sea-950: #0a1b32;
}SCSS
$song-of-the-sea: #406cb1;
$song-of-the-sea-rgb: 64, 108, 177;
$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);
}