#1F1879#1F1879
#1F1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.155 H 275.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1879 |
|---|---|
| RGB | rgb(31, 24, 121) |
| HSL | hsl(244, 67%, 28%) |
| HSV | hsv(244, 80%, 47%) |
| CMYK | cmyk(74.4%, 80.2%, 0%, 52.5%) |
| CIE-LAB | lab(17.11, 36.04, -53.30) |
| CIE-LCH | lch(17.11, 64.34, 304.06°) |
| OKLab | oklab(30.11% 0.0134 -0.1541) |
| OKLCH | oklch(30.11% 0.155 275) |
| XYZ | xyz(4.3418, 2.3246, 18.3053) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.75
Royal
#0C1793
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 4.07
Deep Blue
#040273
ΔE00 4.43
Navy
#000080
ΔE00 4.61
Darkblue (survey)
#030764
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1879 #727918
analogous
#184179 #1F1879 #4F1879
triadic
#1F1879 #791F18 #18791F
tetradic
#1F1879 #791841 #727918 #18794F
square
#1F1879 #791841 #727918 #18794F
split-complementary
#1F1879 #794F18 #417918
monochromatic
#07051A #120E46 #1F1879 #2C22AC #4035D7
Accessibility & contrast
On white
14.33
#1F1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1F1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1879
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1879 | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1879; /* rgb */ color: rgb(31, 24, 121); /* oklch */ color: oklch(30.1% 0.155 275.0);
Tailwind
colors: {
custom: {
50: '#6b57a1',
500: '#1f1879',
950: '#000000',
},
}SCSS
$custom: #1f1879; $custom-light: #6b57a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1879",
"rgb": {
"r": 31,
"g": 24,
"b": 121
},
"hsl": {
"h": 244.33,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.30111,
"c": 0.15473,
"h": 275
},
"luminance": 0.02325
}Semantic roles & 50–950 ramp
primary
#1F1879
secondary
#A6AE3F
accent
#EA3EDD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F