#1F1877#1F1877
#1F1877 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.152 H 275.3°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1877 |
|---|---|
| RGB | rgb(31, 24, 119) |
| HSL | hsl(244, 66%, 28%) |
| HSV | hsv(244, 80%, 47%) |
| CMYK | cmyk(73.9%, 79.8%, 0%, 53.3%) |
| CIE-LAB | lab(16.87, 35.36, -52.40) |
| CIE-LCH | lch(16.87, 63.22, 304.01°) |
| OKLab | oklab(29.88% 0.0139 -0.1515) |
| OKLCH | oklch(29.88% 0.152 275.3) |
| XYZ | xyz(4.2204, 2.2761, 17.6661) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.47
Dark Royal Blue
#02066F
ΔE00 4.01
Royal
#0C1793
ΔE00 4.27
Deep Blue
#040273
ΔE00 4.43
Darkblue (survey)
#030764
ΔE00 4.66
Navy
#000080
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1877 #707718
analogous
#184077 #1F1877 #4E1877
triadic
#1F1877 #771F18 #18771F
tetradic
#1F1877 #771840 #707718 #18774E
square
#1F1877 #771840 #707718 #18774E
split-complementary
#1F1877 #774E18 #407718
monochromatic
#070519 #120E44 #1F1877 #2C22AA #3F33D6
Accessibility & contrast
On white
14.43
#1F1877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1F1877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1877
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1877 | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1877; /* rgb */ color: rgb(31, 24, 119); /* oklch */ color: oklch(29.9% 0.152 275.3);
Tailwind
colors: {
custom: {
50: '#6a579f',
500: '#1f1877',
950: '#000000',
},
}SCSS
$custom: #1f1877; $custom-light: #6a579f; $custom-dark: #000000;
JSON
{
"hex": "#1f1877",
"rgb": {
"r": 31,
"g": 24,
"b": 119
},
"hsl": {
"h": 244.421,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.29879,
"c": 0.15217,
"h": 275.3
},
"luminance": 0.02276
}Semantic roles & 50–950 ramp
primary
#1F1877
secondary
#A4AC3F
accent
#E93EDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E