#1F1977#1F1977
#1F1977 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.151 H 275.1°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1977 |
|---|---|
| RGB | rgb(31, 25, 119) |
| HSL | hsl(244, 65%, 28%) |
| HSV | hsv(244, 79%, 47%) |
| CMYK | cmyk(73.9%, 79%, 0%, 53.3%) |
| CIE-LAB | lab(17.08, 34.78, -52.07) |
| CIE-LCH | lch(17.08, 62.62, 303.74°) |
| OKLab | oklab(30.02% 0.0134 -0.1506) |
| OKLCH | oklch(30.02% 0.151 275.1) |
| XYZ | xyz(4.2414, 2.3181, 17.6731) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.37
Dark Royal Blue
#02066F
ΔE00 4.21
Royal
#0C1793
ΔE00 4.30
Deep Blue
#040273
ΔE00 4.66
Darkblue (survey)
#030764
ΔE00 4.81
Navy
#000080
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1977 #717719
analogous
#194277 #1F1977 #4E1977
triadic
#1F1977 #771F19 #19771F
tetradic
#1F1977 #771942 #717719 #19774E
square
#1F1977 #771942 #717719 #19774E
split-complementary
#1F1977 #774E19 #427719
monochromatic
#070519 #120E44 #1F1977 #2C24AA #4036D5
Accessibility & contrast
On white
14.35
#1F1977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1F1977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1977
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1977 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1f1977; /* rgb */ color: rgb(31, 25, 119); /* oklch */ color: oklch(30.0% 0.151 275.1);
Tailwind
colors: {
custom: {
50: '#6a579f',
500: '#1f1977',
950: '#000000',
},
}SCSS
$custom: #1f1977; $custom-light: #6a579f; $custom-dark: #000000;
JSON
{
"hex": "#1f1977",
"rgb": {
"r": 31,
"g": 25,
"b": 119
},
"hsl": {
"h": 243.83,
"s": 65.278,
"l": 28.235
},
"oklch": {
"l": 0.3002,
"c": 0.15117,
"h": 275.1
},
"luminance": 0.02318
}Semantic roles & 50–950 ramp
primary
#1F1977
secondary
#A5AC40
accent
#E840DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E