#12284F#12284F
#12284F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.077 H 260.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #12284F |
|---|---|
| RGB | rgb(18, 40, 79) |
| HSL | hsl(218, 63%, 19%) |
| HSV | hsv(218, 77%, 31%) |
| CMYK | cmyk(77.2%, 49.4%, 0%, 69%) |
| CIE-LAB | lab(16.55, 6.75, -26.56) |
| CIE-LCH | lch(16.55, 27.40, 284.26°) |
| OKLab | oklab(28.28% -0.0122 -0.076) |
| OKLCH | oklch(28.28% 0.077 260.9) |
| XYZ | xyz(2.4190, 2.2104, 7.6948) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.24
Marine
#042E60
ΔE00 3.67
Navy (survey)
#01153E
ΔE00 6.07
Marine Blue
#01386A
ΔE00 6.84
Navy Blue (survey)
#001146
ΔE00 7.76
Dark Navy
#000435
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12284F #4F3912
analogous
#12474F #12284F #1B124F
triadic
#12284F #4F1228 #284F12
tetradic
#12284F #4F1247 #4F3912 #124F1B
square
#12284F #4F1247 #4F3912 #124F1B
split-complementary
#12284F #4F1B12 #474F12
monochromatic
#060D19 #070F1D #12284F #1D4181 #295AB3
Accessibility & contrast
On white
14.56
#12284F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#12284F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12284F
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12284F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12284F | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#142C50
Deuteranopia (green-blind)
#09264E
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #12284f; /* rgb */ color: rgb(18, 40, 79); /* oklch */ color: oklch(28.3% 0.077 260.9);
Tailwind
colors: {
custom: {
50: '#596180',
500: '#12284f',
950: '#000000',
},
}SCSS
$custom: #12284f; $custom-light: #596180; $custom-dark: #000000;
JSON
{
"hex": "#12284f",
"rgb": {
"r": 18,
"g": 40,
"b": 79
},
"hsl": {
"h": 218.361,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.2828,
"c": 0.07698,
"h": 260.9
},
"luminance": 0.02211
}Semantic roles & 50–950 ramp
primary
#12284F
secondary
#886A35
accent
#AB42E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C