#1F2E90#1F2E90
#1F2E90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.161 H 269.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E90 |
|---|---|
| RGB | rgb(31, 46, 144) |
| HSL | hsl(232, 65%, 34%) |
| HSV | hsv(232, 78%, 56%) |
| CMYK | cmyk(78.5%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(24.51, 30.65, -55.59) |
| CIE-LCH | lch(24.51, 63.47, 298.87°) |
| OKLab | oklab(36.15% -0.0019 -0.1609) |
| OKLCH | oklch(36.15% 0.161 269.3) |
| XYZ | xyz(6.5744, 4.2582, 26.8556) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.50
Royal
#0C1793
ΔE00 5.84
Blueberry
#464196
ΔE00 6.82
Midnight Blue
#191970
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 6.95
Indigo Blue
#3A18B1
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E90 #90811F
analogous
#1F6790 #1F2E90 #481F90
triadic
#1F2E90 #901F2E #2E901F
tetradic
#1F2E90 #901F67 #90811F #1F9048
square
#1F2E90 #901F67 #90811F #1F9048
split-complementary
#1F2E90 #90481F #67901F
monochromatic
#090E2B #141E5E #1F2E90 #2A3EC2 #5062D9
Accessibility & contrast
On white
11.34
#1F2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F2E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E90
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E90 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2e90; /* rgb */ color: rgb(31, 46, 144); /* oklch */ color: oklch(36.1% 0.161 269.3);
Tailwind
colors: {
custom: {
50: '#6e67b1',
500: '#1f2e90',
950: '#000000',
},
}SCSS
$custom: #1f2e90; $custom-light: #6e67b1; $custom-dark: #000000;
JSON
{
"hex": "#1f2e90",
"rgb": {
"r": 31,
"g": 46,
"b": 144
},
"hsl": {
"h": 232.035,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.36147,
"c": 0.16088,
"h": 269.3
},
"luminance": 0.04259
}Semantic roles & 50–950 ramp
primary
#1F2E90
secondary
#BCAE4E
accent
#D140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80