#1F1079#1F1079
#1F1079 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.162 H 276.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1079 |
|---|---|
| RGB | rgb(31, 16, 121) |
| HSL | hsl(249, 77%, 27%) |
| HSV | hsv(249, 87%, 47%) |
| CMYK | cmyk(74.4%, 86.8%, 0%, 52.5%) |
| CIE-LAB | lab(15.71, 40.11, -55.62) |
| CIE-LCH | lch(15.71, 68.58, 305.80°) |
| OKLab | oklab(29.14% 0.0168 -0.1607) |
| OKLCH | oklch(29.14% 0.162 276) |
| XYZ | xyz(4.2004, 2.0420, 18.2582) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.95
Dark Royal Blue
#02066F
ΔE00 2.96
Deep Blue
#040273
ΔE00 3.03
Navy
#000080
ΔE00 3.18
Darkblue
#00008B
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1079 #6A7910
analogous
#103679 #1F1079 #531079
triadic
#1F1079 #791F10 #10791F
tetradic
#1F1079 #791036 #6A7910 #107953
square
#1F1079 #791036 #6A7910 #107953
split-complementary
#1F1079 #795310 #367910
monochromatic
#07041B #110943 #1F1079 #2D17AF #3D22E2
Accessibility & contrast
On white
14.91
#1F1079 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1F1079 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1079
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1079 | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1f1079; /* rgb */ color: rgb(31, 16, 121); /* oklch */ color: oklch(29.1% 0.162 276.0);
Tailwind
colors: {
custom: {
50: '#6b53a1',
500: '#1f1079',
950: '#000000',
},
}SCSS
$custom: #1f1079; $custom-light: #6b53a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1079",
"rgb": {
"r": 31,
"g": 16,
"b": 121
},
"hsl": {
"h": 248.571,
"s": 76.642,
"l": 26.863
},
"oklch": {
"l": 0.29138,
"c": 0.16163,
"h": 276
},
"luminance": 0.02042
}Semantic roles & 50–950 ramp
primary
#1F1079
secondary
#9EB035
accent
#F335D8
background
#F7F4FA
surface
#EDE7F3
border
#C8C3CD
text
#08030F
muted
#7B787F