#121E7E#121E7E
#121E7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.159 H 268.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #121E7E |
|---|---|
| RGB | rgb(18, 30, 126) |
| HSL | hsl(233, 75%, 28%) |
| HSV | hsv(233, 86%, 49%) |
| CMYK | cmyk(85.7%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.20, 33.17, -54.71) |
| CIE-LCH | lch(18.20, 63.98, 301.23°) |
| OKLab | oklab(30.86% -0.0051 -0.1586) |
| OKLCH | oklch(30.86% 0.159 268.2) |
| XYZ | xyz(4.4783, 2.5630, 19.9933) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.50
Royal
#0C1793
ΔE00 3.69
Dark Royal Blue
#02066F
ΔE00 5.46
Navy
#000080
ΔE00 5.86
Darkblue
#00008B
ΔE00 5.90
Deep Blue
#040273
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121E7E #7E7212
analogous
#12547E #121E7E #3C127E
triadic
#121E7E #7E121E #1E7E12
tetradic
#121E7E #7E1254 #7E7212 #127E3C
square
#121E7E #7E1254 #7E7212 #127E3C
split-complementary
#121E7E #7E3C12 #547E12
monochromatic
#04061B #0A1148 #121E7E #1A2BB4 #2A3EE1
Accessibility & contrast
On white
13.88
#121E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#121E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121E7E
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121E7E | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #121e7e; /* rgb */ color: rgb(18, 30, 126); /* oklch */ color: oklch(30.9% 0.159 268.2);
Tailwind
colors: {
custom: {
50: '#675aa4',
500: '#121e7e',
950: '#000000',
},
}SCSS
$custom: #121e7e; $custom-light: #675aa4; $custom-dark: #000000;
JSON
{
"hex": "#121e7e",
"rgb": {
"r": 18,
"g": 30,
"b": 126
},
"hsl": {
"h": 233.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.30855,
"c": 0.15864,
"h": 268.2
},
"luminance": 0.02564
}Semantic roles & 50–950 ramp
primary
#121E7E
secondary
#B4A638
accent
#DD36F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F