#12428F#12428F
#12428F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.138 H 259.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #12428F |
|---|---|
| RGB | rgb(18, 66, 143) |
| HSL | hsl(217, 78%, 32%) |
| HSV | hsv(217, 87%, 56%) |
| CMYK | cmyk(87.4%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(29.43, 15.28, -46.95) |
| CIE-LCH | lch(29.43, 49.38, 288.03°) |
| OKLab | oklab(39.67% -0.0241 -0.1355) |
| OKLCH | oklch(39.67% 0.138 259.9) |
| XYZ | xyz(7.1538, 6.0073, 26.7638) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.94
Darkish Blue
#014182
ΔE00 2.52
Twilight Blue
#0A437A
ΔE00 3.68
Cobalt
#0047AB
ΔE00 3.84
Prussian Blue
#004577
ΔE00 5.05
Dusk Blue
#26538D
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12428F #8F5F12
analogous
#12818F #12428F #21128F
triadic
#12428F #8F1242 #428F12
tetradic
#12428F #8F1281 #8F5F12 #128F21
square
#12428F #8F1281 #8F5F12 #128F21
split-complementary
#12428F #8F2112 #818F12
monochromatic
#041022 #0B2959 #12428F #195BC5 #3679E6
Accessibility & contrast
On white
9.54
#12428F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#12428F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12428F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12428F | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #12428f; /* rgb */ color: rgb(18, 66, 143); /* oklch */ color: oklch(39.7% 0.138 259.9);
Tailwind
colors: {
custom: {
50: '#6975b0',
500: '#12428f',
950: '#000000',
},
}SCSS
$custom: #12428f; $custom-light: #6975b0; $custom-dark: #000000;
JSON
{
"hex": "#12428f",
"rgb": {
"r": 18,
"g": 66,
"b": 143
},
"hsl": {
"h": 216.96,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.3967,
"c": 0.13759,
"h": 259.9
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#12428F
secondary
#C38E3A
accent
#AA34F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070811
muted
#7A7B80