#1C42A8#1C42A8
#1C42A8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.170 H 264.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1C42A8 |
|---|---|
| RGB | rgb(28, 66, 168) |
| HSL | hsl(224, 71%, 38%) |
| HSV | hsv(224, 83%, 66%) |
| CMYK | cmyk(83.3%, 60.7%, 0%, 34.1%) |
| CIE-LAB | lab(31.74, 26.22, -58.36) |
| CIE-LCH | lch(31.74, 63.98, 294.19°) |
| OKLab | oklab(42.12% -0.0163 -0.1688) |
| OKLCH | oklch(42.12% 0.17 264.5) |
| XYZ | xyz(9.4925, 6.9693, 37.8831) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Sapphire (survey)
#2138AB
ΔE00 3.54
Blue Blue
#2242C7
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 5.71
Blueberry
#464196
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C42A8 #A8821C
analogous
#1C88A8 #1C42A8 #3C1CA8
triadic
#1C42A8 #A81C42 #42A81C
tetradic
#1C42A8 #A81C88 #A8821C #1CA83C
square
#1C42A8 #A81C88 #A8821C #1CA83C
split-complementary
#1C42A8 #A83C1C #88A81C
monochromatic
#0B193F #132D74 #1C42A8 #2657DB #5B80E4
Accessibility & contrast
On white
8.77
#1C42A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1C42A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C42A8
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C42A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C42A8 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1c42a8; /* rgb */ color: rgb(28, 66, 168); /* oklch */ color: oklch(42.1% 0.170 264.5);
Tailwind
colors: {
custom: {
50: '#7275c3',
500: '#1c42a8',
950: '#000000',
},
}SCSS
$custom: #1c42a8; $custom-light: #7275c3; $custom-dark: #000000;
JSON
{
"hex": "#1c42a8",
"rgb": {
"r": 28,
"g": 66,
"b": 168
},
"hsl": {
"h": 223.714,
"s": 71.429,
"l": 38.431
},
"oklch": {
"l": 0.42123,
"c": 0.16962,
"h": 264.5
},
"luminance": 0.0697
}Semantic roles & 50–950 ramp
primary
#1C42A8
secondary
#C7A958
accent
#BD3AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82