#1F1475#1F1475
#1F1475 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.153 H 276.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1475 |
|---|---|
| RGB | rgb(31, 20, 117) |
| HSL | hsl(247, 71%, 27%) |
| HSV | hsv(247, 83%, 46%) |
| CMYK | cmyk(73.5%, 82.9%, 0%, 54.1%) |
| CIE-LAB | lab(15.88, 36.87, -52.76) |
| CIE-LCH | lch(15.88, 64.37, 304.95°) |
| OKLab | oklab(29.11% 0.0164 -0.1525) |
| OKLCH | oklch(29.11% 0.153 276.1) |
| XYZ | xyz(4.0251, 2.0756, 17.0147) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.91
Dark Royal Blue
#02066F
ΔE00 3.26
Deep Blue
#040273
ΔE00 3.64
Darkblue (survey)
#030764
ΔE00 3.97
Navy
#000080
ΔE00 4.11
Royal
#0C1793
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1475 #6A7514
analogous
#143A75 #1F1475 #501475
triadic
#1F1475 #751F14 #14751F
tetradic
#1F1475 #75143A #6A7514 #147550
square
#1F1475 #75143A #6A7514 #147550
split-complementary
#1F1475 #755014 #3A7514
monochromatic
#07041A #110B41 #1F1475 #2D1DA9 #3D29DA
Accessibility & contrast
On white
14.84
#1F1475 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1F1475 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1475
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1475 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1475 | 1.00 | 14.84 | 1.42 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1f1475; /* rgb */ color: rgb(31, 20, 117); /* oklch */ color: oklch(29.1% 0.153 276.1);
Tailwind
colors: {
custom: {
50: '#6a549e',
500: '#1f1475',
950: '#000000',
},
}SCSS
$custom: #1f1475; $custom-light: #6a549e; $custom-dark: #000000;
JSON
{
"hex": "#1f1475",
"rgb": {
"r": 31,
"g": 20,
"b": 117
},
"hsl": {
"h": 246.804,
"s": 70.803,
"l": 26.863
},
"oklch": {
"l": 0.29114,
"c": 0.1534,
"h": 276.1
},
"luminance": 0.02076
}Semantic roles & 50–950 ramp
primary
#1F1475
secondary
#9EAB3A
accent
#EE3AD9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E