#111871#111871
#111871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.148 H 269.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #111871 |
|---|---|
| RGB | rgb(17, 24, 113) |
| HSL | hsl(236, 74%, 25%) |
| HSV | hsv(236, 85%, 44%) |
| CMYK | cmyk(85%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(15.30, 32.03, -51.16) |
| CIE-LCH | lch(15.30, 60.36, 302.05°) |
| OKLab | oklab(28.33% -0.0021 -0.1482) |
| OKLCH | oklch(28.33% 0.148 269.2) |
| XYZ | xyz(3.5374, 1.9643, 15.8123) |
| Luminance | 0.0197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.76
Dark Royal Blue
#02066F
ΔE00 3.85
Darkblue (survey)
#030764
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.58
Royal
#0C1793
ΔE00 5.15
Navy
#000080
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#111871 #716A11
analogous
#114871 #111871 #3A1171
triadic
#111871 #711118 #187111
tetradic
#111871 #711148 #716A11 #11713A
square
#111871 #711148 #716A11 #11713A
split-complementary
#111871 #713A11 #487111
monochromatic
#04061B #090D3C #111871 #1923A6 #212FDB
Accessibility & contrast
On white
15.08
#111871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#111871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #111871
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##111871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##111871 | 1.00 | 15.08 | 1.39 | 15.08 |
| #FFFFFF | 15.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #111871; /* rgb */ color: rgb(17, 24, 113); /* oklch */ color: oklch(28.3% 0.148 269.2);
Tailwind
colors: {
custom: {
50: '#64569b',
500: '#111871',
950: '#000000',
},
}SCSS
$custom: #111871; $custom-light: #64569b; $custom-dark: #000000;
JSON
{
"hex": "#111871",
"rgb": {
"r": 17,
"g": 24,
"b": 113
},
"hsl": {
"h": 235.625,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.28326,
"c": 0.14826,
"h": 269.2
},
"luminance": 0.01965
}Semantic roles & 50–950 ramp
primary
#111871
secondary
#A8A036
accent
#E337F1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E