#1F2190#1F2190
#1F2190 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.175 H 271.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2190 |
|---|---|
| RGB | rgb(31, 33, 144) |
| HSL | hsl(239, 65%, 34%) |
| HSV | hsv(239, 78%, 56%) |
| CMYK | cmyk(78.5%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(21.55, 38.78, -60.46) |
| CIE-LCH | lch(21.55, 71.83, 302.68°) |
| OKLab | oklab(34.02% 0.0045 -0.175) |
| OKLCH | oklch(34.02% 0.175 271.5) |
| XYZ | xyz(6.1413, 3.3920, 26.7112) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Cobalt Blue
#030AA7
ΔE00 4.87
Midnight Blue
#191970
ΔE00 5.08
Royal Blue (survey)
#0504AA
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.83
Darkblue
#00008B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2190 #908E1F
analogous
#1F5A90 #1F2190 #561F90
triadic
#1F2190 #901F21 #21901F
tetradic
#1F2190 #901F5A #908E1F #1F9056
square
#1F2190 #901F5A #908E1F #1F9056
split-complementary
#1F2190 #90561F #5A901F
monochromatic
#090A2B #14155E #1F2190 #2A2DC2 #5052D9
Accessibility & contrast
On white
12.51
#1F2190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1F2190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2190
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2190 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2190; /* rgb */ color: rgb(31, 33, 144); /* oklch */ color: oklch(34.0% 0.175 271.5);
Tailwind
colors: {
custom: {
50: '#705eb2',
500: '#1f2190',
950: '#000000',
},
}SCSS
$custom: #1f2190; $custom-light: #705eb2; $custom-dark: #000000;
JSON
{
"hex": "#1f2190",
"rgb": {
"r": 31,
"g": 33,
"b": 144
},
"hsl": {
"h": 238.938,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.3402,
"c": 0.1751,
"h": 271.5
},
"luminance": 0.03393
}Semantic roles & 50–950 ramp
primary
#1F2190
secondary
#BCBA4E
accent
#E540E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980