#1F2F90#1F2F90
#1F2F90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.160 H 269.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F90 |
|---|---|
| RGB | rgb(31, 47, 144) |
| HSL | hsl(232, 65%, 34%) |
| HSV | hsv(232, 78%, 56%) |
| CMYK | cmyk(78.5%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(24.76, 29.98, -55.18) |
| CIE-LCH | lch(24.76, 62.80, 298.52°) |
| OKLab | oklab(36.33% -0.0024 -0.1597) |
| OKLCH | oklch(36.33% 0.16 269.1) |
| XYZ | xyz(6.6139, 4.3372, 26.8687) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.37
Royal
#0C1793
ΔE00 6.15
Blueberry
#464196
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 6.84
Midnight Blue
#191970
ΔE00 7.13
Indigo Blue
#3A18B1
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F90 #90801F
analogous
#1F6890 #1F2F90 #471F90
triadic
#1F2F90 #901F2F #2F901F
tetradic
#1F2F90 #901F68 #90801F #1F9047
square
#1F2F90 #901F68 #90801F #1F9047
split-complementary
#1F2F90 #90471F #68901F
monochromatic
#090E2B #141F5E #1F2F90 #2A3FC2 #5064D9
Accessibility & contrast
On white
11.24
#1F2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F90
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F90 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2f90; /* rgb */ color: rgb(31, 47, 144); /* oklch */ color: oklch(36.3% 0.160 269.1);
Tailwind
colors: {
custom: {
50: '#6e67b1',
500: '#1f2f90',
950: '#000000',
},
}SCSS
$custom: #1f2f90; $custom-light: #6e67b1; $custom-dark: #000000;
JSON
{
"hex": "#1f2f90",
"rgb": {
"r": 31,
"g": 47,
"b": 144
},
"hsl": {
"h": 231.504,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.36329,
"c": 0.15969,
"h": 269.1
},
"luminance": 0.04338
}Semantic roles & 50–950 ramp
primary
#1F2F90
secondary
#BCAD4E
accent
#D040E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80