#1C408E#1C408E
#1C408E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.136 H 263.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1C408E |
|---|---|
| RGB | rgb(28, 64, 142) |
| HSL | hsl(221, 67%, 33%) |
| HSV | hsv(221, 80%, 56%) |
| CMYK | cmyk(80.3%, 54.9%, 0%, 44.3%) |
| CIE-LAB | lab(29.07, 17.22, -46.91) |
| CIE-LCH | lch(29.07, 49.97, 290.16°) |
| OKLab | oklab(39.46% -0.0166 -0.1352) |
| OKLCH | oklch(39.46% 0.136 263) |
| XYZ | xyz(7.1930, 5.8658, 26.3391) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.82
Darkish Blue
#014182
ΔE00 3.51
Cobalt
#0047AB
ΔE00 4.32
Twilight Blue
#0A437A
ΔE00 4.65
Sapphire (survey)
#2138AB
ΔE00 5.94
Marine Blue
#01386A
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C408E #8E6A1C
analogous
#1C798E #1C408E #311C8E
triadic
#1C408E #8E1C40 #408E1C
tetradic
#1C408E #8E1C79 #8E6A1C #1C8E31
square
#1C408E #8E1C79 #8E6A1C #1C8E31
split-complementary
#1C408E #8E311C #798E1C
monochromatic
#081228 #12295B #1C408E #2657C1 #4977DB
Accessibility & contrast
On white
9.66
#1C408E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1C408E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C408E
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C408E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C408E | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1c408e; /* rgb */ color: rgb(28, 64, 142); /* oklch */ color: oklch(39.5% 0.136 263.0);
Tailwind
colors: {
custom: {
50: '#6b74b0',
500: '#1c408e',
950: '#000000',
},
}SCSS
$custom: #1c408e; $custom-light: #6b74b0; $custom-dark: #000000;
JSON
{
"hex": "#1c408e",
"rgb": {
"r": 28,
"g": 64,
"b": 142
},
"hsl": {
"h": 221.053,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.39458,
"c": 0.13624,
"h": 263
},
"luminance": 0.05867
}Semantic roles & 50–950 ramp
primary
#1C408E
secondary
#BD9849
accent
#B43EEA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F