#121871#121871
#121871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.148 H 269.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).
Color values
| HEX | #121871 |
|---|---|
| RGB | rgb(18, 24, 113) |
| HSL | hsl(236, 73%, 26%) |
| HSV | hsv(236, 84%, 44%) |
| CMYK | cmyk(84.1%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(15.35, 32.10, -51.08) |
| CIE-LCH | lch(15.35, 60.33, 302.15°) |
| OKLab | oklab(28.38% -0.0011 -0.148) |
| OKLCH | oklch(28.38% 0.148 269.6) |
| XYZ | xyz(3.5557, 1.9737, 15.8131) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.68
Dark Royal Blue
#02066F
ΔE00 3.85
Darkblue (survey)
#030764
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.57
Royal
#0C1793
ΔE00 5.15
Navy
#000080
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121871 #716B12
analogous
#124771 #121871 #3C1271
triadic
#121871 #711218 #187112
tetradic
#121871 #711247 #716B12 #12713C
square
#121871 #711247 #716B12 #12713C
split-complementary
#121871 #713C12 #477112
monochromatic
#04061A #0A0D3C #121871 #1A23A6 #232EDB
Accessibility & contrast
On white
15.06
#121871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#121871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121871
15.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121871 | 1.00 | 15.06 | 1.39 | 15.06 |
| #FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #121871; /* rgb */ color: rgb(18, 24, 113); /* oklch */ color: oklch(28.4% 0.148 269.6);
Tailwind
colors: {
custom: {
50: '#64569b',
500: '#121871',
950: '#000000',
},
}SCSS
$custom: #121871; $custom-light: #64569b; $custom-dark: #000000;
JSON
{
"hex": "#121871",
"rgb": {
"r": 18,
"g": 24,
"b": 113
},
"hsl": {
"h": 236.211,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.28375,
"c": 0.14797,
"h": 269.6
},
"luminance": 0.01974
}Semantic roles & 50–950 ramp
primary
#121871
secondary
#A8A137
accent
#E439EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E