#121472#121472
#121472 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.153 H 270.0°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).
Color values
| HEX | #121472 |
|---|---|
| RGB | rgb(18, 20, 114) |
| HSL | hsl(239, 73%, 26%) |
| HSV | hsv(239, 84%, 45%) |
| CMYK | cmyk(84.2%, 82.5%, 0%, 55.3%) |
| CIE-LAB | lab(14.64, 34.83, -52.90) |
| CIE-LCH | lch(14.64, 63.33, 303.36°) |
| OKLab | oklab(27.91% 0 -0.1532) |
| OKLCH | oklch(27.91% 0.153 270) |
| XYZ | xyz(3.5358, 1.8434, 16.0858) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.41
Dark Royal Blue
#02066F
ΔE00 2.83
Darkblue (survey)
#030764
ΔE00 3.32
Deep Blue
#040273
ΔE00 3.49
Navy
#000080
ΔE00 4.22
Royal
#0C1793
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121472 #727012
analogous
#124472 #121472 #401272
triadic
#121472 #721214 #147212
tetradic
#121472 #721244 #727012 #127240
square
#121472 #721244 #727012 #127240
split-complementary
#121472 #724012 #447212
monochromatic
#04051A #0A0B3D #121472 #1A1DA7 #2327DC
Accessibility & contrast
On white
15.34
#121472 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#121472 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121472
15.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121472 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121472 | 1.00 | 15.34 | 1.37 | 15.34 |
| #FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #121472; /* rgb */ color: rgb(18, 20, 114); /* oklch */ color: oklch(27.9% 0.153 270.0);
Tailwind
colors: {
custom: {
50: '#65539c',
500: '#121472',
950: '#000000',
},
}SCSS
$custom: #121472; $custom-light: #65539c; $custom-dark: #000000;
JSON
{
"hex": "#121472",
"rgb": {
"r": 18,
"g": 20,
"b": 114
},
"hsl": {
"h": 238.75,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.27913,
"c": 0.15319,
"h": 270
},
"luminance": 0.01844
}Semantic roles & 50–950 ramp
primary
#121472
secondary
#A9A637
accent
#EC38EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E