#120E2F#120E2F
#120E2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.063 H 284.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).
Color values
| HEX | #120E2F |
|---|---|
| RGB | rgb(18, 14, 47) |
| HSL | hsl(247, 54%, 12%) |
| HSV | hsv(247, 70%, 18%) |
| CMYK | cmyk(61.7%, 70.2%, 0%, 81.6%) |
| CIE-LAB | lab(5.85, 12.34, -21.11) |
| CIE-LCH | lch(5.85, 24.46, 300.31°) |
| OKLab | oklab(19.19% 0.0156 -0.0615) |
| OKLCH | oklch(19.19% 0.063 284.2) |
| XYZ | xyz(0.9194, 0.6479, 2.7654) |
| Luminance | 0.0065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.70
Dark Navy Blue
#00022E
ΔE00 4.30
Very Dark Blue
#000133
ΔE00 5.08
Dark Navy
#000435
ΔE00 5.08
Midnight Blue (survey)
#020035
ΔE00 5.38
Navy (survey)
#01153E
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#120E2F #2B2F0E
analogous
#0E1B2F #120E2F #230E2F
triadic
#120E2F #2F120E #0E2F12
tetradic
#120E2F #2F0E1B #2B2F0E #0E2F23
square
#120E2F #2F0E1B #2B2F0E #0E2F23
split-complementary
#120E2F #2F230E #1B2F0E
monochromatic
#090718 #090718 #120E2F #241C5E #362A8D
Accessibility & contrast
On white
18.59
#120E2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#120E2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #120E2F
18.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##120E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##120E2F | 1.00 | 18.59 | 1.13 | 18.59 |
| #FFFFFF | 18.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#07161C
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #120e2f; /* rgb */ color: rgb(18, 14, 47); /* oklch */ color: oklch(19.2% 0.063 284.2);
Tailwind
colors: {
custom: {
50: '#524d68',
500: '#120e2f',
950: '#000000',
},
}SCSS
$custom: #120e2f; $custom-light: #524d68; $custom-dark: #000000;
JSON
{
"hex": "#120e2f",
"rgb": {
"r": 18,
"g": 14,
"b": 47
},
"hsl": {
"h": 247.273,
"s": 54.098,
"l": 11.961
},
"oklch": {
"l": 0.19191,
"c": 0.06347,
"h": 284.2
},
"luminance": 0.00648
}Semantic roles & 50–950 ramp
primary
#120E2F
secondary
#62692F
accent
#DD4ACC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A