#18428E#18428E
#18428E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.135 H 261.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #18428E |
|---|---|
| RGB | rgb(24, 66, 142) |
| HSL | hsl(219, 71%, 33%) |
| HSV | hsv(219, 83%, 56%) |
| CMYK | cmyk(83.1%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(29.52, 15.41, -46.19) |
| CIE-LCH | lch(29.52, 48.69, 288.45°) |
| OKLab | oklab(39.76% -0.0208 -0.1331) |
| OKLCH | oklch(39.76% 0.135 261.1) |
| XYZ | xyz(7.2056, 6.0427, 26.3725) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.97
Darkish Blue
#014182
ΔE00 2.78
Twilight Blue
#0A437A
ΔE00 3.90
Cobalt
#0047AB
ΔE00 3.98
Prussian Blue
#004577
ΔE00 5.32
Dusk Blue
#26538D
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18428E #8E6418
analogous
#187D8E #18428E #29188E
triadic
#18428E #8E1842 #428E18
tetradic
#18428E #8E187D #8E6418 #188E29
square
#18428E #8E187D #8E6418 #188E29
split-complementary
#18428E #8E2918 #7D8E18
monochromatic
#061125 #0F2A5A #18428E #215AC2 #417ADF
Accessibility & contrast
On white
9.51
#18428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#18428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18428E
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18428E | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #18428e; /* rgb */ color: rgb(24, 66, 142); /* oklch */ color: oklch(39.8% 0.135 261.1);
Tailwind
colors: {
custom: {
50: '#6a75b0',
500: '#18428e',
950: '#000000',
},
}SCSS
$custom: #18428e; $custom-light: #6a75b0; $custom-dark: #000000;
JSON
{
"hex": "#18428e",
"rgb": {
"r": 24,
"g": 66,
"b": 142
},
"hsl": {
"h": 218.644,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.39761,
"c": 0.13475,
"h": 261.1
},
"luminance": 0.06044
}Semantic roles & 50–950 ramp
primary
#18428E
secondary
#C09342
accent
#AE3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F