#122972#122972
#122972 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.129 H 265.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #122972 |
|---|---|
| RGB | rgb(18, 41, 114) |
| HSL | hsl(226, 73%, 26%) |
| HSV | hsv(226, 84%, 45%) |
| CMYK | cmyk(84.2%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(19.76, 20.93, -44.47) |
| CIE-LCH | lch(19.76, 49.15, 295.20°) |
| OKLab | oklab(31.61% -0.0096 -0.1286) |
| OKLCH | oklch(31.61% 0.129 265.7) |
| XYZ | xyz(4.0786, 2.9289, 16.2667) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.08
Midnight Blue
#191970
ΔE00 5.44
Marine Blue
#01386A
ΔE00 7.25
Royal
#0C1793
ΔE00 7.99
Navy Blue
#1B2A4A
ΔE00 7.99
Navy Blue (survey)
#001146
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122972 #725B12
analogous
#125972 #122972 #2B1272
triadic
#122972 #721229 #297212
tetradic
#122972 #721259 #725B12 #12722B
square
#122972 #721259 #725B12 #12722B
split-complementary
#122972 #722B12 #597212
monochromatic
#040A1A #0A163D #122972 #1A3CA7 #234FDC
Accessibility & contrast
On white
13.24
#122972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#122972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122972
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122972 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122972; /* rgb */ color: rgb(18, 41, 114); /* oklch */ color: oklch(31.6% 0.129 265.7);
Tailwind
colors: {
custom: {
50: '#63629b',
500: '#122972',
950: '#000000',
},
}SCSS
$custom: #122972; $custom-light: #63629b; $custom-dark: #000000;
JSON
{
"hex": "#122972",
"rgb": {
"r": 18,
"g": 41,
"b": 114
},
"hsl": {
"h": 225.625,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.31614,
"c": 0.12901,
"h": 265.7
},
"luminance": 0.02929
}Semantic roles & 50–950 ramp
primary
#122972
secondary
#A98E37
accent
#C438EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E