#121B7E#121B7E
#121B7E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.162 H 268.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #121B7E |
|---|---|
| RGB | rgb(18, 27, 126) |
| HSL | hsl(235, 75%, 28%) |
| HSV | hsv(235, 86%, 49%) |
| CMYK | cmyk(85.7%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(17.55, 35.02, -55.79) |
| CIE-LCH | lch(17.55, 65.88, 302.12°) |
| OKLab | oklab(30.39% -0.0042 -0.1617) |
| OKLCH | oklch(30.39% 0.162 268.5) |
| XYZ | xyz(4.4060, 2.4183, 19.9692) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.29
Royal
#0C1793
ΔE00 3.29
Dark Royal Blue
#02066F
ΔE00 4.73
Navy
#000080
ΔE00 5.05
Darkblue
#00008B
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121B7E #7E7512
analogous
#12517E #121B7E #3F127E
triadic
#121B7E #7E121B #1B7E12
tetradic
#121B7E #7E1251 #7E7512 #127E3F
square
#121B7E #7E1251 #7E7512 #127E3F
split-complementary
#121B7E #7E3F12 #517E12
monochromatic
#04061B #0A1048 #121B7E #1A26B4 #2A39E1
Accessibility & contrast
On white
14.15
#121B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#121B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121B7E
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121B7E | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #121b7e; /* rgb */ color: rgb(18, 27, 126); /* oklch */ color: oklch(30.4% 0.162 268.5);
Tailwind
colors: {
custom: {
50: '#6859a5',
500: '#121b7e',
950: '#000000',
},
}SCSS
$custom: #121b7e; $custom-light: #6859a5; $custom-dark: #000000;
JSON
{
"hex": "#121b7e",
"rgb": {
"r": 18,
"g": 27,
"b": 126
},
"hsl": {
"h": 235,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.30388,
"c": 0.16174,
"h": 268.5
},
"luminance": 0.02419
}Semantic roles & 50–950 ramp
primary
#121B7E
secondary
#B4A938
accent
#E236F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F