#18428B#18428B
#18428B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.130 H 260.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #18428B |
|---|---|
| RGB | rgb(24, 66, 139) |
| HSL | hsl(218, 71%, 32%) |
| HSV | hsv(218, 83%, 55%) |
| CMYK | cmyk(82.7%, 52.5%, 0%, 45.5%) |
| CIE-LAB | lab(29.30, 14.18, -44.70) |
| CIE-LCH | lch(29.30, 46.90, 287.60°) |
| OKLab | oklab(39.52% -0.0212 -0.1288) |
| OKLCH | oklch(39.52% 0.13 260.7) |
| XYZ | xyz(6.9834, 5.9539, 25.2022) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.93
Darkish Blue
#014182
ΔE00 2.41
Twilight Blue
#0A437A
ΔE00 3.51
Cobalt
#0047AB
ΔE00 4.34
Prussian Blue
#004577
ΔE00 4.99
Marine Blue
#01386A
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18428B #8B6118
analogous
#187C8B #18428B #28188B
triadic
#18428B #8B1842 #428B18
tetradic
#18428B #8B187C #8B6118 #188B28
square
#18428B #8B187C #8B6118 #188B28
split-complementary
#18428B #8B2818 #7C8B18
monochromatic
#061023 #0F2957 #18428B #215BBF #3F79DE
Accessibility & contrast
On white
9.58
#18428B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#18428B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18428B
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18428B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18428B | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #18428b; /* rgb */ color: rgb(24, 66, 139); /* oklch */ color: oklch(39.5% 0.130 260.7);
Tailwind
colors: {
custom: {
50: '#6975ad',
500: '#18428b',
950: '#000000',
},
}SCSS
$custom: #18428b; $custom-light: #6975ad; $custom-dark: #000000;
JSON
{
"hex": "#18428b",
"rgb": {
"r": 24,
"g": 66,
"b": 139
},
"hsl": {
"h": 218.087,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.39519,
"c": 0.13049,
"h": 260.7
},
"luminance": 0.05955
}Semantic roles & 50–950 ramp
primary
#18428B
secondary
#BE9040
accent
#AC3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F