#112874#112874
#112874 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.133 H 265.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #112874 |
|---|---|
| RGB | rgb(17, 40, 116) |
| HSL | hsl(226, 74%, 26%) |
| HSV | hsv(226, 85%, 45%) |
| CMYK | cmyk(85.3%, 65.5%, 0%, 54.5%) |
| CIE-LAB | lab(19.63, 22.37, -45.97) |
| CIE-LCH | lch(19.63, 51.13, 295.95°) |
| OKLab | oklab(31.57% -0.0098 -0.1331) |
| OKLCH | oklch(31.57% 0.133 265.8) |
| XYZ | xyz(4.1412, 2.8972, 16.8606) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.01
Marine
#042E60
ΔE00 5.56
Royal
#0C1793
ΔE00 7.44
Marine Blue
#01386A
ΔE00 7.66
Navy Blue
#1B2A4A
ΔE00 8.42
Dark Royal Blue
#02066F
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#112874 #745D11
analogous
#115974 #112874 #2B1174
triadic
#112874 #741128 #287411
tetradic
#112874 #741159 #745D11 #11742B
square
#112874 #741159 #745D11 #11742B
split-complementary
#112874 #742B11 #597411
monochromatic
#04091B #09163F #112874 #193AA9 #214DDE
Accessibility & contrast
On white
13.29
#112874 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#112874 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #112874
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##112874 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##112874 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #112874; /* rgb */ color: rgb(17, 40, 116); /* oklch */ color: oklch(31.6% 0.133 265.8);
Tailwind
colors: {
custom: {
50: '#63619d',
500: '#112874',
950: '#000000',
},
}SCSS
$custom: #112874; $custom-light: #63619d; $custom-dark: #000000;
JSON
{
"hex": "#112874",
"rgb": {
"r": 17,
"g": 40,
"b": 116
},
"hsl": {
"h": 226.061,
"s": 74.436,
"l": 26.078
},
"oklch": {
"l": 0.31566,
"c": 0.13343,
"h": 265.8
},
"luminance": 0.02898
}Semantic roles & 50–950 ramp
primary
#112874
secondary
#AB9036
accent
#C637F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E