#1F1899#1F1899
#1F1899 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.194 H 271.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F1899 |
|---|---|
| RGB | rgb(31, 24, 153) |
| HSL | hsl(243, 73%, 35%) |
| HSV | hsv(243, 84%, 60%) |
| CMYK | cmyk(79.7%, 84.3%, 0%, 40%) |
| CIE-LAB | lab(20.99, 46.46, -66.94) |
| CIE-LCH | lch(20.99, 81.49, 304.76°) |
| OKLab | oklab(33.94% 0.0054 -0.1937) |
| OKLCH | oklch(33.94% 0.194 271.6) |
| XYZ | xyz(6.6395, 3.2437, 30.4070) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.51
Cobalt Blue
#030AA7
ΔE00 2.62
Royal Blue (survey)
#0504AA
ΔE00 3.18
Ultramarine
#2000B1
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.36
Darkblue
#00008B
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F1899 #929918
analogous
#185199 #1F1899 #601899
triadic
#1F1899 #991F18 #18991F
tetradic
#1F1899 #991851 #929918 #189960
square
#1F1899 #991851 #929918 #189960
split-complementary
#1F1899 #996018 #519918
monochromatic
#0A072F #141064 #1F1899 #2A20CE #5149E2
Accessibility & contrast
On white
12.74
#1F1899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F1899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F1899
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F1899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F1899 | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002C97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f1899; /* rgb */ color: rgb(31, 24, 153); /* oklch */ color: oklch(33.9% 0.194 271.6);
Tailwind
colors: {
custom: {
50: '#7359b8',
500: '#1f1899',
950: '#000000',
},
}SCSS
$custom: #1f1899; $custom-light: #7359b8; $custom-dark: #000000;
JSON
{
"hex": "#1f1899",
"rgb": {
"r": 31,
"g": 24,
"b": 153
},
"hsl": {
"h": 243.256,
"s": 72.881,
"l": 34.706
},
"oklch": {
"l": 0.33944,
"c": 0.19377,
"h": 271.6
},
"luminance": 0.03244
}Semantic roles & 50–950 ramp
primary
#1F1899
secondary
#BDC449
accent
#F038E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981