#1F1990#1F1990
#1F1990 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.182 H 272.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1990 |
|---|---|
| RGB | rgb(31, 25, 144) |
| HSL | hsl(243, 70%, 33%) |
| HSV | hsv(243, 83%, 56%) |
| CMYK | cmyk(78.5%, 82.6%, 0%, 43.5%) |
| CIE-LAB | lab(20.04, 43.12, -62.96) |
| CIE-LCH | lch(20.04, 76.31, 304.41°) |
| OKLab | oklab(32.96% 0.0073 -0.1822) |
| OKLCH | oklch(32.96% 0.182 272.3) |
| XYZ | xyz(5.9451, 2.9995, 26.6458) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.19
Cobalt Blue
#030AA7
ΔE00 3.65
Darkblue
#00008B
ΔE00 4.17
Royal Blue (survey)
#0504AA
ΔE00 4.21
Navy
#000080
ΔE00 4.98
Indigo (survey)
#380282
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1990 #8A9019
analogous
#194E90 #1F1990 #5A1990
triadic
#1F1990 #901F19 #19901F
tetradic
#1F1990 #90194E #8A9019 #19905A
square
#1F1990 #90194E #8A9019 #19905A
split-complementary
#1F1990 #905A19 #4E9019
monochromatic
#090728 #14105C #1F1990 #2A22C4 #4C45DF
Accessibility & contrast
On white
13.13
#1F1990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1F1990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1990
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1990 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f1990; /* rgb */ color: rgb(31, 25, 144); /* oklch */ color: oklch(33.0% 0.182 272.3);
Tailwind
colors: {
custom: {
50: '#7059b2',
500: '#1f1990',
950: '#000000',
},
}SCSS
$custom: #1f1990; $custom-light: #7059b2; $custom-dark: #000000;
JSON
{
"hex": "#1f1990",
"rgb": {
"r": 31,
"g": 25,
"b": 144
},
"hsl": {
"h": 243.025,
"s": 70.414,
"l": 33.137
},
"oklch": {
"l": 0.32963,
"c": 0.18233,
"h": 272.3
},
"luminance": 0.03
}Semantic roles & 50–950 ramp
primary
#1F1990
secondary
#BAC045
accent
#ED3BE4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980