#1F1390#1F1390
#1F1390 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.187 H 272.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1390 |
|---|---|
| RGB | rgb(31, 19, 144) |
| HSL | hsl(246, 77%, 32%) |
| HSV | hsv(246, 87%, 56%) |
| CMYK | cmyk(78.5%, 86.8%, 0%, 43.5%) |
| CIE-LAB | lab(19.10, 45.91, -64.52) |
| CIE-LCH | lch(19.10, 79.19, 305.43°) |
| OKLab | oklab(32.31% 0.0089 -0.1866) |
| OKLCH | oklch(32.31% 0.187 272.7) |
| XYZ | xyz(5.8303, 2.7700, 26.6075) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.46
Cobalt Blue
#030AA7
ΔE00 3.19
Darkblue
#00008B
ΔE00 3.20
Royal Blue (survey)
#0504AA
ΔE00 3.66
Navy
#000080
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1390 #849013
analogous
#134690 #1F1390 #5E1390
triadic
#1F1390 #901F13 #13901F
tetradic
#1F1390 #901346 #849013 #13905E
square
#1F1390 #901346 #849013 #13905E
split-complementary
#1F1390 #905E13 #469013
monochromatic
#080524 #130C5A #1F1390 #2B1AC6 #4939E5
Accessibility & contrast
On white
13.51
#1F1390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1F1390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1390
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1390 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f1390; /* rgb */ color: rgb(31, 19, 144); /* oklch */ color: oklch(32.3% 0.187 272.7);
Tailwind
colors: {
custom: {
50: '#7156b2',
500: '#1f1390',
950: '#000000',
},
}SCSS
$custom: #1f1390; $custom-light: #7156b2; $custom-dark: #000000;
JSON
{
"hex": "#1f1390",
"rgb": {
"r": 31,
"g": 19,
"b": 144
},
"hsl": {
"h": 245.76,
"s": 76.687,
"l": 31.961
},
"oklch": {
"l": 0.32311,
"c": 0.18681,
"h": 272.7
},
"luminance": 0.02771
}Semantic roles & 50–950 ramp
primary
#1F1390
secondary
#B7C43B
accent
#F335E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880