#121F71#121F71
#121F71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.140 H 268.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #121F71 |
|---|---|
| RGB | rgb(18, 31, 113) |
| HSL | hsl(232, 73%, 26%) |
| HSV | hsv(232, 84%, 44%) |
| CMYK | cmyk(84.1%, 72.6%, 0%, 55.7%) |
| CIE-LAB | lab(16.99, 27.54, -48.37) |
| CIE-LCH | lch(16.99, 55.66, 299.66°) |
| OKLab | oklab(29.55% -0.004 -0.1401) |
| OKLCH | oklch(29.55% 0.14 268.4) |
| XYZ | xyz(3.7190, 2.3004, 15.8676) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Dark Royal Blue
#02066F
ΔE00 5.90
Royal
#0C1793
ΔE00 5.92
Darkblue (survey)
#030764
ΔE00 5.92
Deep Blue
#040273
ΔE00 6.64
Navy
#000080
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121F71 #716412
analogous
#124E71 #121F71 #341271
triadic
#121F71 #71121F #1F7112
tetradic
#121F71 #71124E #716412 #127134
square
#121F71 #71124E #716412 #127134
split-complementary
#121F71 #713412 #4E7112
monochromatic
#04071A #0A113C #121F71 #1A2DA6 #233CDB
Accessibility & contrast
On white
14.38
#121F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#121F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121F71
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121F71 | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #121f71; /* rgb */ color: rgb(18, 31, 113); /* oklch */ color: oklch(29.6% 0.140 268.4);
Tailwind
colors: {
custom: {
50: '#635b9b',
500: '#121f71',
950: '#000000',
},
}SCSS
$custom: #121f71; $custom-light: #635b9b; $custom-dark: #000000;
JSON
{
"hex": "#121f71",
"rgb": {
"r": 18,
"g": 31,
"b": 113
},
"hsl": {
"h": 231.789,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.29553,
"c": 0.14018,
"h": 268.4
},
"luminance": 0.02301
}Semantic roles & 50–950 ramp
primary
#121F71
secondary
#A89837
accent
#D639EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E