#112871#112871
#112871 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.129 H 265.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #112871 |
|---|---|
| RGB | rgb(17, 40, 113) |
| HSL | hsl(226, 74%, 25%) |
| HSV | hsv(226, 85%, 44%) |
| CMYK | cmyk(85%, 64.6%, 0%, 55.7%) |
| CIE-LAB | lab(19.34, 21.13, -44.51) |
| CIE-LCH | lch(19.34, 49.27, 295.40°) |
| OKLab | oklab(31.27% -0.0098 -0.1288) |
| OKLCH | oklch(31.27% 0.129 265.6) |
| XYZ | xyz(3.9695, 2.8285, 15.9563) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.17
Midnight Blue
#191970
ΔE00 5.21
Marine Blue
#01386A
ΔE00 7.46
Royal
#0C1793
ΔE00 7.91
Navy Blue
#1B2A4A
ΔE00 7.98
Navy Blue (survey)
#001146
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112871 #715A11
analogous
#115871 #112871 #2A1171
triadic
#112871 #711128 #287111
tetradic
#112871 #711158 #715A11 #11712A
square
#112871 #711158 #715A11 #11712A
split-complementary
#112871 #712A11 #587111
monochromatic
#04091B #09153C #112871 #193BA6 #214EDB
Accessibility & contrast
On white
13.41
#112871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#112871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112871
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112871 | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #112871; /* rgb */ color: rgb(17, 40, 113); /* oklch */ color: oklch(31.3% 0.129 265.6);
Tailwind
colors: {
custom: {
50: '#62619b',
500: '#112871',
950: '#000000',
},
}SCSS
$custom: #112871; $custom-light: #62619b; $custom-dark: #000000;
JSON
{
"hex": "#112871",
"rgb": {
"r": 17,
"g": 40,
"b": 113
},
"hsl": {
"h": 225.625,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.31268,
"c": 0.12915,
"h": 265.6
},
"luminance": 0.02829
}Semantic roles & 50–950 ramp
primary
#112871
secondary
#A88D36
accent
#C437F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E