#1F2E86#1F2E86
#1F2E86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.147 H 269.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E86 |
|---|---|
| RGB | rgb(31, 46, 134) |
| HSL | hsl(231, 62%, 32%) |
| HSV | hsv(231, 77%, 53%) |
| CMYK | cmyk(76.9%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.56, 26.83, -50.92) |
| CIE-LCH | lch(23.56, 57.56, 297.79°) |
| OKLab | oklab(35.16% -0.0013 -0.1472) |
| OKLCH | oklch(35.16% 0.147 269.5) |
| XYZ | xyz(5.8437, 3.9659, 23.0072) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.76
Midnight Blue
#191970
ΔE00 6.30
Royal
#0C1793
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.89
Blueberry
#464196
ΔE00 7.09
Marine
#042E60
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E86 #86771F
analogous
#1F6286 #1F2E86 #431F86
triadic
#1F2E86 #861F2E #2E861F
tetradic
#1F2E86 #861F62 #86771F #1F8643
square
#1F2E86 #861F62 #86771F #1F8643
split-complementary
#1F2E86 #86431F #62861F
monochromatic
#080C23 #141D54 #1F2E86 #2A3FB8 #4A5ED5
Accessibility & contrast
On white
11.71
#1F2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1F2E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E86
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E86 | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f2e86; /* rgb */ color: rgb(31, 46, 134); /* oklch */ color: oklch(35.2% 0.147 269.5);
Tailwind
colors: {
custom: {
50: '#6c66aa',
500: '#1f2e86',
950: '#000000',
},
}SCSS
$custom: #1f2e86; $custom-light: #6c66aa; $custom-dark: #000000;
JSON
{
"hex": "#1f2e86",
"rgb": {
"r": 31,
"g": 46,
"b": 134
},
"hsl": {
"h": 231.262,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.35161,
"c": 0.14723,
"h": 269.5
},
"luminance": 0.03967
}Semantic roles & 50–950 ramp
primary
#1F2E86
secondary
#B8A849
accent
#CE42E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F