#1F2E89#1F2E89
#1F2E89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.151 H 269.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E89 |
|---|---|
| RGB | rgb(31, 46, 137) |
| HSL | hsl(232, 63%, 33%) |
| HSV | hsv(232, 77%, 54%) |
| CMYK | cmyk(77.4%, 66.4%, 0%, 46.3%) |
| CIE-LAB | lab(23.84, 27.98, -52.33) |
| CIE-LCH | lch(23.84, 59.35, 298.13°) |
| OKLab | oklab(35.45% -0.0014 -0.1514) |
| OKLCH | oklch(35.45% 0.151 269.5) |
| XYZ | xyz(6.0559, 4.0508, 24.1248) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.36
Royal
#0C1793
ΔE00 6.29
Midnight Blue
#191970
ΔE00 6.44
Darkslateblue
#483D8B
ΔE00 6.88
Blueberry
#464196
ΔE00 6.98
Marine
#042E60
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E89 #897A1F
analogous
#1F6389 #1F2E89 #451F89
triadic
#1F2E89 #891F2E #2E891F
tetradic
#1F2E89 #891F63 #897A1F #1F8945
square
#1F2E89 #891F63 #897A1F #1F8945
split-complementary
#1F2E89 #89451F #63891F
monochromatic
#080C25 #141D57 #1F2E89 #2A3FBB #4C60D6
Accessibility & contrast
On white
11.60
#1F2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#1F2E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E89
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E89 | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003487
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2e89; /* rgb */ color: rgb(31, 46, 137); /* oklch */ color: oklch(35.5% 0.151 269.5);
Tailwind
colors: {
custom: {
50: '#6c66ac',
500: '#1f2e89',
950: '#000000',
},
}SCSS
$custom: #1f2e89; $custom-light: #6c66ac; $custom-dark: #000000;
JSON
{
"hex": "#1f2e89",
"rgb": {
"r": 31,
"g": 46,
"b": 137
},
"hsl": {
"h": 231.509,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.35453,
"c": 0.15137,
"h": 269.5
},
"luminance": 0.04051
}Semantic roles & 50–950 ramp
primary
#1F2E89
secondary
#B9AA4B
accent
#CF42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F