#121771#121771
#121771 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.149 H 269.7°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).
Color values
| HEX | #121771 |
|---|---|
| RGB | rgb(18, 23, 113) |
| HSL | hsl(237, 73%, 26%) |
| HSV | hsv(237, 84%, 44%) |
| CMYK | cmyk(84.1%, 79.6%, 0%, 55.7%) |
| CIE-LAB | lab(15.13, 32.71, -51.44) |
| CIE-LCH | lch(15.13, 60.96, 302.46°) |
| OKLab | oklab(28.22% -0.0007 -0.149) |
| OKLCH | oklch(28.22% 0.149 269.7) |
| XYZ | xyz(3.5355, 1.9332, 15.8064) |
| Luminance | 0.0193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.78
Dark Royal Blue
#02066F
ΔE00 3.58
Darkblue (survey)
#030764
ΔE00 3.83
Deep Blue
#040273
ΔE00 4.30
Navy
#000080
ΔE00 5.00
Royal
#0C1793
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121771 #716C12
analogous
#124671 #121771 #3C1271
triadic
#121771 #711217 #177112
tetradic
#121771 #711246 #716C12 #12713C
square
#121771 #711246 #716C12 #12713C
split-complementary
#121771 #713C12 #467112
monochromatic
#04051A #0A0C3C #121771 #1A22A6 #232CDB
Accessibility & contrast
On white
15.14
#121771 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#121771 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121771
15.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121771 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121771 | 1.00 | 15.14 | 1.39 | 15.14 |
| #FFFFFF | 15.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #121771; /* rgb */ color: rgb(18, 23, 113); /* oklch */ color: oklch(28.2% 0.149 269.7);
Tailwind
colors: {
custom: {
50: '#64559b',
500: '#121771',
950: '#000000',
},
}SCSS
$custom: #121771; $custom-light: #64559b; $custom-dark: #000000;
JSON
{
"hex": "#121771",
"rgb": {
"r": 18,
"g": 23,
"b": 113
},
"hsl": {
"h": 236.842,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.28222,
"c": 0.149,
"h": 269.7
},
"luminance": 0.01934
}Semantic roles & 50–950 ramp
primary
#121771
secondary
#A8A237
accent
#E639EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E