#131871#131871
#131871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.148 H 270.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #131871 |
|---|---|
| RGB | rgb(19, 24, 113) |
| HSL | hsl(237, 71%, 26%) |
| HSV | hsv(237, 83%, 44%) |
| CMYK | cmyk(83.2%, 78.8%, 0%, 55.7%) |
| CIE-LAB | lab(15.40, 32.17, -50.99) |
| CIE-LCH | lch(15.40, 60.29, 302.25°) |
| OKLab | oklab(28.43% 0 -0.1477) |
| OKLCH | oklch(28.43% 0.148 270) |
| XYZ | xyz(3.5748, 1.9836, 15.8140) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.61
Dark Royal Blue
#02066F
ΔE00 3.84
Darkblue (survey)
#030764
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.56
Royal
#0C1793
ΔE00 5.14
Navy
#000080
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#131871 #716C13
analogous
#134771 #131871 #3D1371
triadic
#131871 #711318 #187113
tetradic
#131871 #711347 #716C13 #13713D
square
#131871 #711347 #716C13 #13713D
split-complementary
#131871 #713D13 #477113
monochromatic
#04061A #0A0D3D #131871 #1C23A5 #252EDA
Accessibility & contrast
On white
15.03
#131871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#131871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #131871
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##131871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##131871 | 1.00 | 15.03 | 1.40 | 15.03 |
| #FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #131871; /* rgb */ color: rgb(19, 24, 113); /* oklch */ color: oklch(28.4% 0.148 270.0);
Tailwind
colors: {
custom: {
50: '#64569b',
500: '#131871',
950: '#000000',
},
}SCSS
$custom: #131871; $custom-light: #64569b; $custom-dark: #000000;
JSON
{
"hex": "#131871",
"rgb": {
"r": 19,
"g": 24,
"b": 113
},
"hsl": {
"h": 236.809,
"s": 71.212,
"l": 25.882
},
"oklch": {
"l": 0.28426,
"c": 0.1477,
"h": 270
},
"luminance": 0.01984
}Semantic roles & 50–950 ramp
primary
#131871
secondary
#A8A238
accent
#E43AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E