#122971#122971
#122971 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.128 H 265.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #122971 |
|---|---|
| RGB | rgb(18, 41, 113) |
| HSL | hsl(225, 73%, 26%) |
| HSV | hsv(225, 84%, 44%) |
| CMYK | cmyk(84.1%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(19.66, 20.51, -43.98) |
| CIE-LCH | lch(19.66, 48.53, 295.00°) |
| OKLab | oklab(31.52% -0.0096 -0.1272) |
| OKLCH | oklch(31.52% 0.128 265.7) |
| XYZ | xyz(4.0220, 2.9063, 15.9686) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.94
Midnight Blue
#191970
ΔE00 5.52
Marine Blue
#01386A
ΔE00 7.18
Navy Blue
#1B2A4A
ΔE00 7.84
Royal
#0C1793
ΔE00 8.15
Navy Blue (survey)
#001146
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122971 #715A12
analogous
#125871 #122971 #2B1271
triadic
#122971 #711229 #297112
tetradic
#122971 #711258 #715A12 #12712B
square
#122971 #711258 #715A12 #12712B
split-complementary
#122971 #712B12 #587112
monochromatic
#040A1A #0A163C #122971 #1A3CA6 #234FDB
Accessibility & contrast
On white
13.28
#122971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#122971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122971
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122971 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122971; /* rgb */ color: rgb(18, 41, 113); /* oklch */ color: oklch(31.5% 0.128 265.7);
Tailwind
colors: {
custom: {
50: '#62629b',
500: '#122971',
950: '#000000',
},
}SCSS
$custom: #122971; $custom-light: #62629b; $custom-dark: #000000;
JSON
{
"hex": "#122971",
"rgb": {
"r": 18,
"g": 41,
"b": 113
},
"hsl": {
"h": 225.474,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.31517,
"c": 0.12756,
"h": 265.7
},
"luminance": 0.02907
}Semantic roles & 50–950 ramp
primary
#122971
secondary
#A88D37
accent
#C339EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E