#112872#112872
#112872 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.131 H 265.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #112872 |
|---|---|
| RGB | rgb(17, 40, 114) |
| HSL | hsl(226, 74%, 26%) |
| HSV | hsv(226, 85%, 45%) |
| CMYK | cmyk(85.1%, 64.9%, 0%, 55.3%) |
| CIE-LAB | lab(19.44, 21.55, -45.00) |
| CIE-LCH | lch(19.44, 49.89, 295.59°) |
| OKLab | oklab(31.37% -0.0098 -0.1302) |
| OKLCH | oklch(31.37% 0.131 265.7) |
| XYZ | xyz(4.0262, 2.8512, 16.2545) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.13
Marine
#042E60
ΔE00 5.30
Marine Blue
#01386A
ΔE00 7.52
Royal
#0C1793
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 8.13
Navy Blue (survey)
#001146
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112872 #725B11
analogous
#115872 #112872 #2A1172
triadic
#112872 #721128 #287211
tetradic
#112872 #721158 #725B11 #11722A
square
#112872 #721158 #725B11 #11722A
split-complementary
#112872 #722A11 #587211
monochromatic
#04091B #09153D #112872 #193BA7 #214DDD
Accessibility & contrast
On white
13.37
#112872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#112872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112872
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112872 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #112872; /* rgb */ color: rgb(17, 40, 114); /* oklch */ color: oklch(31.4% 0.131 265.7);
Tailwind
colors: {
custom: {
50: '#62619b',
500: '#112872',
950: '#000000',
},
}SCSS
$custom: #112872; $custom-light: #62619b; $custom-dark: #000000;
JSON
{
"hex": "#112872",
"rgb": {
"r": 17,
"g": 40,
"b": 114
},
"hsl": {
"h": 225.773,
"s": 74.046,
"l": 25.686
},
"oklch": {
"l": 0.31366,
"c": 0.13059,
"h": 265.7
},
"luminance": 0.02852
}Semantic roles & 50–950 ramp
primary
#112872
secondary
#A98E36
accent
#C537F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E