#1F1677#1F1677
#1F1677 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.154 H 275.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1677 |
|---|---|
| RGB | rgb(31, 22, 119) |
| HSL | hsl(246, 69%, 28%) |
| HSV | hsv(246, 82%, 47%) |
| CMYK | cmyk(73.9%, 81.5%, 0%, 53.3%) |
| CIE-LAB | lab(16.49, 36.47, -53.04) |
| CIE-LCH | lch(16.49, 64.37, 304.51°) |
| OKLab | oklab(29.61% 0.0149 -0.1534) |
| OKLCH | oklch(29.61% 0.154 275.6) |
| XYZ | xyz(4.1807, 2.1966, 17.6529) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.76
Dark Royal Blue
#02066F
ΔE00 3.64
Deep Blue
#040273
ΔE00 4.01
Royal
#0C1793
ΔE00 4.23
Navy
#000080
ΔE00 4.33
Darkblue (survey)
#030764
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1677 #6E7716
analogous
#163D77 #1F1677 #4F1677
triadic
#1F1677 #771F16 #16771F
tetradic
#1F1677 #77163D #6E7716 #16774F
square
#1F1677 #77163D #6E7716 #16774F
split-complementary
#1F1677 #774F16 #3D7716
monochromatic
#07051A #120C43 #1F1677 #2C20AB #3F2FD9
Accessibility & contrast
On white
14.59
#1F1677 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1F1677 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1677
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1677 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1677 | 1.00 | 14.59 | 1.44 | 14.59 |
| #FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1677; /* rgb */ color: rgb(31, 22, 119); /* oklch */ color: oklch(29.6% 0.154 275.6);
Tailwind
colors: {
custom: {
50: '#6a569f',
500: '#1f1677',
950: '#000000',
},
}SCSS
$custom: #1f1677; $custom-light: #6a569f; $custom-dark: #000000;
JSON
{
"hex": "#1f1677",
"rgb": {
"r": 31,
"g": 22,
"b": 119
},
"hsl": {
"h": 245.567,
"s": 68.794,
"l": 27.647
},
"oklch": {
"l": 0.29608,
"c": 0.15408,
"h": 275.6
},
"luminance": 0.02197
}Semantic roles & 50–950 ramp
primary
#1F1677
secondary
#A2AC3C
accent
#EC3CDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E