#1F1479#1F1479
#1F1479 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.158 H 275.5°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1479 |
|---|---|
| RGB | rgb(31, 20, 121) |
| HSL | hsl(247, 72%, 28%) |
| HSV | hsv(247, 83%, 47%) |
| CMYK | cmyk(74.4%, 83.5%, 0%, 52.5%) |
| CIE-LAB | lab(16.36, 38.18, -54.53) |
| CIE-LCH | lch(16.36, 66.57, 305.00°) |
| OKLab | oklab(29.59% 0.0153 -0.1577) |
| OKLCH | oklch(29.59% 0.158 275.5) |
| XYZ | xyz(4.2653, 2.1717, 18.2798) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.30
Dark Royal Blue
#02066F
ΔE00 3.42
Deep Blue
#040273
ΔE00 3.65
Navy
#000080
ΔE00 3.82
Royal
#0C1793
ΔE00 3.95
Darkblue
#00008B
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1479 #6E7914
analogous
#143B79 #1F1479 #521479
triadic
#1F1479 #791F14 #14791F
tetradic
#1F1479 #79143B #6E7914 #147952
square
#1F1479 #79143B #6E7914 #147952
split-complementary
#1F1479 #795214 #3B7914
monochromatic
#07041A #120B44 #1F1479 #2C1DAE #3F2BDC
Accessibility & contrast
On white
14.64
#1F1479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1F1479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1479
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1479 | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1479; /* rgb */ color: rgb(31, 20, 121); /* oklch */ color: oklch(29.6% 0.158 275.5);
Tailwind
colors: {
custom: {
50: '#6b55a1',
500: '#1f1479',
950: '#000000',
},
}SCSS
$custom: #1f1479; $custom-light: #6b55a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1479",
"rgb": {
"r": 31,
"g": 20,
"b": 121
},
"hsl": {
"h": 246.535,
"s": 71.631,
"l": 27.647
},
"oklch": {
"l": 0.29592,
"c": 0.1584,
"h": 275.5
},
"luminance": 0.02172
}Semantic roles & 50–950 ramp
primary
#1F1479
secondary
#A2AF3A
accent
#EE39DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F