#18428F#18428F
#18428F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.136 H 261.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #18428F |
|---|---|
| RGB | rgb(24, 66, 143) |
| HSL | hsl(219, 71%, 33%) |
| HSV | hsv(219, 83%, 56%) |
| CMYK | cmyk(83.2%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(29.60, 15.82, -46.68) |
| CIE-LCH | lch(29.60, 49.29, 288.72°) |
| OKLab | oklab(39.84% -0.0207 -0.1346) |
| OKLCH | oklch(39.84% 0.136 261.3) |
| XYZ | xyz(7.2810, 6.0729, 26.7697) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.00
Darkish Blue
#014182
ΔE00 2.91
Cobalt
#0047AB
ΔE00 3.86
Twilight Blue
#0A437A
ΔE00 4.03
Prussian Blue
#004577
ΔE00 5.43
Dusk Blue
#26538D
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18428F #8F6518
analogous
#187D8F #18428F #2A188F
triadic
#18428F #8F1842 #428F18
tetradic
#18428F #8F187D #8F6518 #188F2A
square
#18428F #8F187D #8F6518 #188F2A
split-complementary
#18428F #8F2A18 #7D8F18
monochromatic
#061226 #0F2A5B #18428F #215AC3 #427ADF
Accessibility & contrast
On white
9.48
#18428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#18428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18428F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18428F | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #18428f; /* rgb */ color: rgb(24, 66, 143); /* oklch */ color: oklch(39.8% 0.136 261.3);
Tailwind
colors: {
custom: {
50: '#6a75b0',
500: '#18428f',
950: '#000000',
},
}SCSS
$custom: #18428f; $custom-light: #6a75b0; $custom-dark: #000000;
JSON
{
"hex": "#18428f",
"rgb": {
"r": 24,
"g": 66,
"b": 143
},
"hsl": {
"h": 218.824,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.39842,
"c": 0.13615,
"h": 261.3
},
"luminance": 0.06074
}Semantic roles & 50–950 ramp
primary
#18428F
secondary
#C09443
accent
#AE3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80