#1F1377#1F1377
#1F1377 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.157 H 276.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1377 |
|---|---|
| RGB | rgb(31, 19, 119) |
| HSL | hsl(247, 72%, 27%) |
| HSV | hsv(247, 84%, 47%) |
| CMYK | cmyk(73.9%, 84%, 0%, 53.3%) |
| CIE-LAB | lab(15.95, 38.04, -53.94) |
| CIE-LCH | lch(15.95, 66.00, 305.19°) |
| OKLab | oklab(29.23% 0.0163 -0.1559) |
| OKLCH | oklch(29.23% 0.157 276) |
| XYZ | xyz(4.1266, 2.0886, 17.6348) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Dark Royal Blue
#02066F
ΔE00 3.18
Deep Blue
#040273
ΔE00 3.45
Navy
#000080
ΔE00 3.78
Darkblue (survey)
#030764
ΔE00 4.06
Royal
#0C1793
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1377 #6B7713
analogous
#133977 #1F1377 #511377
triadic
#1F1377 #771F13 #13771F
tetradic
#1F1377 #771339 #6B7713 #137751
square
#1F1377 #771339 #6B7713 #137751
split-complementary
#1F1377 #775113 #397713
monochromatic
#07041A #110B42 #1F1377 #2D1BAC #3D28DD
Accessibility & contrast
On white
14.81
#1F1377 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1F1377 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1377
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1377 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1377 | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f1377; /* rgb */ color: rgb(31, 19, 119); /* oklch */ color: oklch(29.2% 0.157 276.0);
Tailwind
colors: {
custom: {
50: '#6b549f',
500: '#1f1377',
950: '#000000',
},
}SCSS
$custom: #1f1377; $custom-light: #6b549f; $custom-dark: #000000;
JSON
{
"hex": "#1f1377",
"rgb": {
"r": 31,
"g": 19,
"b": 119
},
"hsl": {
"h": 247.2,
"s": 72.464,
"l": 27.059
},
"oklch": {
"l": 0.29231,
"c": 0.15677,
"h": 276
},
"luminance": 0.02089
}Semantic roles & 50–950 ramp
primary
#1F1377
secondary
#9FAD39
accent
#EF39D9
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030F
muted
#7A787E