#1F1775#1F1775
#1F1775 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.151 H 275.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1775 |
|---|---|
| RGB | rgb(31, 23, 117) |
| HSL | hsl(245, 67%, 27%) |
| HSV | hsv(245, 80%, 46%) |
| CMYK | cmyk(73.5%, 80.3%, 0%, 54.1%) |
| CIE-LAB | lab(16.44, 35.24, -51.83) |
| CIE-LCH | lch(16.44, 62.67, 304.21°) |
| OKLab | oklab(29.51% 0.0149 -0.1498) |
| OKLCH | oklch(29.51% 0.151 275.7) |
| XYZ | xyz(4.0813, 2.1881, 17.0334) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.36
Dark Royal Blue
#02066F
ΔE00 3.79
Deep Blue
#040273
ΔE00 4.24
Darkblue (survey)
#030764
ΔE00 4.35
Royal
#0C1793
ΔE00 4.56
Navy
#000080
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1775 #6D7517
analogous
#173E75 #1F1775 #4E1775
triadic
#1F1775 #751F17 #17751F
tetradic
#1F1775 #75173E #6D7517 #17754E
square
#1F1775 #75173E #6D7517 #17754E
split-complementary
#1F1775 #754E17 #3E7517
monochromatic
#07051A #110D42 #1F1775 #2D21A8 #3E30D6
Accessibility & contrast
On white
14.61
#1F1775 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1F1775 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1775
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1775 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1775 | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1f1775; /* rgb */ color: rgb(31, 23, 117); /* oklch */ color: oklch(29.5% 0.151 275.7);
Tailwind
colors: {
custom: {
50: '#6a569e',
500: '#1f1775',
950: '#000000',
},
}SCSS
$custom: #1f1775; $custom-light: #6a569e; $custom-dark: #000000;
JSON
{
"hex": "#1f1775",
"rgb": {
"r": 31,
"g": 23,
"b": 117
},
"hsl": {
"h": 245.106,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.29509,
"c": 0.15058,
"h": 275.7
},
"luminance": 0.02188
}Semantic roles & 50–950 ramp
primary
#1F1775
secondary
#A1AA3D
accent
#EA3EDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E