#1F1379#1F1379
#1F1379 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.159 H 275.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1379 |
|---|---|
| RGB | rgb(31, 19, 121) |
| HSL | hsl(247, 73%, 27%) |
| HSV | hsv(247, 84%, 47%) |
| CMYK | cmyk(74.4%, 84.3%, 0%, 52.5%) |
| CIE-LAB | lab(16.19, 38.69, -54.82) |
| CIE-LCH | lch(16.19, 67.09, 305.21°) |
| OKLab | oklab(29.47% 0.0157 -0.1585) |
| OKLCH | oklch(29.47% 0.159 275.6) |
| XYZ | xyz(4.2480, 2.1371, 18.2741) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.46
Dark Royal Blue
#02066F
ΔE00 3.28
Deep Blue
#040273
ΔE00 3.48
Navy
#000080
ΔE00 3.65
Royal
#0C1793
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1379 #6D7913
analogous
#133A79 #1F1379 #521379
triadic
#1F1379 #791F13 #13791F
tetradic
#1F1379 #79133A #6D7913 #137952
square
#1F1379 #79133A #6D7913 #137952
split-complementary
#1F1379 #795213 #3A7913
monochromatic
#07041A #110B44 #1F1379 #2D1BAE #3E29DD
Accessibility & contrast
On white
14.71
#1F1379 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1F1379 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1379
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1379 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1379 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f1379; /* rgb */ color: rgb(31, 19, 121); /* oklch */ color: oklch(29.5% 0.159 275.6);
Tailwind
colors: {
custom: {
50: '#6b54a1',
500: '#1f1379',
950: '#000000',
},
}SCSS
$custom: #1f1379; $custom-light: #6b54a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1379",
"rgb": {
"r": 31,
"g": 19,
"b": 121
},
"hsl": {
"h": 247.059,
"s": 72.857,
"l": 27.451
},
"oklch": {
"l": 0.29473,
"c": 0.15924,
"h": 275.6
},
"luminance": 0.02138
}Semantic roles & 50–950 ramp
primary
#1F1379
secondary
#A1AF39
accent
#F038DA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F