#112971#112971
#112971 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.128 H 265.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #112971 |
|---|---|
| RGB | rgb(17, 41, 113) |
| HSL | hsl(225, 74%, 25%) |
| HSV | hsv(225, 85%, 44%) |
| CMYK | cmyk(85%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(19.63, 20.41, -44.05) |
| CIE-LCH | lch(19.63, 48.55, 294.86°) |
| OKLab | oklab(31.48% -0.0104 -0.1274) |
| OKLCH | oklch(31.48% 0.128 265.3) |
| XYZ | xyz(4.0037, 2.8968, 15.9677) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.88
Midnight Blue
#191970
ΔE00 5.57
Marine Blue
#01386A
ΔE00 7.12
Navy Blue
#1B2A4A
ΔE00 7.84
Royal
#0C1793
ΔE00 8.18
Navy Blue (survey)
#001146
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112971 #715911
analogous
#115971 #112971 #291171
triadic
#112971 #711129 #297111
tetradic
#112971 #711159 #715911 #117129
square
#112971 #711159 #715911 #117129
split-complementary
#112971 #712911 #597111
monochromatic
#040A1B #09163C #112971 #193CA6 #2150DB
Accessibility & contrast
On white
13.30
#112971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#112971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112971
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112971 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #112971; /* rgb */ color: rgb(17, 41, 113); /* oklch */ color: oklch(31.5% 0.128 265.3);
Tailwind
colors: {
custom: {
50: '#62629b',
500: '#112971',
950: '#000000',
},
}SCSS
$custom: #112971; $custom-light: #62629b; $custom-dark: #000000;
JSON
{
"hex": "#112971",
"rgb": {
"r": 17,
"g": 41,
"b": 113
},
"hsl": {
"h": 225,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.31477,
"c": 0.12784,
"h": 265.3
},
"luminance": 0.02897
}Semantic roles & 50–950 ramp
primary
#112971
secondary
#A88C36
accent
#C237F1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E