#1F1777#1F1777
#1F1777 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.153 H 275.4°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1777 |
|---|---|
| RGB | rgb(31, 23, 119) |
| HSL | hsl(245, 68%, 28%) |
| HSV | hsv(245, 81%, 47%) |
| CMYK | cmyk(73.9%, 80.7%, 0%, 53.3%) |
| CIE-LAB | lab(16.68, 35.92, -52.73) |
| CIE-LCH | lch(16.68, 63.80, 304.26°) |
| OKLab | oklab(29.74% 0.0144 -0.1525) |
| OKLCH | oklch(29.74% 0.153 275.4) |
| XYZ | xyz(4.2001, 2.2356, 17.6594) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.60
Dark Royal Blue
#02066F
ΔE00 3.82
Deep Blue
#040273
ΔE00 4.22
Royal
#0C1793
ΔE00 4.24
Darkblue (survey)
#030764
ΔE00 4.51
Navy
#000080
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1777 #6F7717
analogous
#173F77 #1F1777 #4F1777
triadic
#1F1777 #771F17 #17771F
tetradic
#1F1777 #77173F #6F7717 #17774F
square
#1F1777 #77173F #6F7717 #17774F
split-complementary
#1F1777 #774F17 #3F7717
monochromatic
#07051A #120D44 #1F1777 #2C21AA #3F31D7
Accessibility & contrast
On white
14.51
#1F1777 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1F1777 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1777
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1777 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1777 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1777; /* rgb */ color: rgb(31, 23, 119); /* oklch */ color: oklch(29.7% 0.153 275.4);
Tailwind
colors: {
custom: {
50: '#6a569f',
500: '#1f1777',
950: '#000000',
},
}SCSS
$custom: #1f1777; $custom-light: #6a569f; $custom-dark: #000000;
JSON
{
"hex": "#1f1777",
"rgb": {
"r": 31,
"g": 23,
"b": 119
},
"hsl": {
"h": 245,
"s": 67.606,
"l": 27.843
},
"oklch": {
"l": 0.29742,
"c": 0.15314,
"h": 275.4
},
"luminance": 0.02236
}Semantic roles & 50–950 ramp
primary
#1F1777
secondary
#A3AC3E
accent
#EA3DDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E