#1F1779#1F1779
#1F1779 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.156 H 275.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1779 |
|---|---|
| RGB | rgb(31, 23, 121) |
| HSL | hsl(245, 68%, 28%) |
| HSV | hsv(245, 81%, 47%) |
| CMYK | cmyk(74.4%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(16.91, 36.59, -53.62) |
| CIE-LCH | lch(16.91, 64.92, 304.31°) |
| OKLab | oklab(29.98% 0.0139 -0.1551) |
| OKLCH | oklch(29.98% 0.156 275.1) |
| XYZ | xyz(4.3215, 2.2842, 18.2986) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.86
Dark Royal Blue
#02066F
ΔE00 3.89
Royal
#0C1793
ΔE00 3.93
Deep Blue
#040273
ΔE00 4.22
Navy
#000080
ΔE00 4.40
Darkblue (survey)
#030764
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1779 #717917
analogous
#174079 #1F1779 #501779
triadic
#1F1779 #791F17 #17791F
tetradic
#1F1779 #791740 #717917 #177950
square
#1F1779 #791740 #717917 #177950
split-complementary
#1F1779 #795017 #407917
monochromatic
#07051A #120D46 #1F1779 #2C21AC #4032D8
Accessibility & contrast
On white
14.41
#1F1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1F1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1779
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1779 | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1779; /* rgb */ color: rgb(31, 23, 121); /* oklch */ color: oklch(30.0% 0.156 275.1);
Tailwind
colors: {
custom: {
50: '#6b56a1',
500: '#1f1779',
950: '#000000',
},
}SCSS
$custom: #1f1779; $custom-light: #6b56a1; $custom-dark: #000000;
JSON
{
"hex": "#1f1779",
"rgb": {
"r": 31,
"g": 23,
"b": 121
},
"hsl": {
"h": 244.898,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.29975,
"c": 0.15568,
"h": 275.1
},
"luminance": 0.02285
}Semantic roles & 50–950 ramp
primary
#1F1779
secondary
#A5AE3E
accent
#EB3DDD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F