#1F2E8D#1F2E8D
#1F2E8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.157 H 269.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E8D |
|---|---|
| RGB | rgb(31, 46, 141) |
| HSL | hsl(232, 64%, 34%) |
| HSV | hsv(232, 78%, 55%) |
| CMYK | cmyk(78%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(24.22, 29.51, -54.20) |
| CIE-LCH | lch(24.22, 61.71, 298.57°) |
| OKLab | oklab(35.85% -0.0017 -0.1568) |
| OKLCH | oklch(35.85% 0.157 269.4) |
| XYZ | xyz(6.3481, 4.1677, 25.6640) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.86
Royal
#0C1793
ΔE00 6.00
Midnight Blue
#191970
ΔE00 6.69
Blueberry
#464196
ΔE00 6.87
Darkslateblue
#483D8B
ΔE00 6.90
Indigo Blue
#3A18B1
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E8D #8D7E1F
analogous
#1F658D #1F2E8D #471F8D
triadic
#1F2E8D #8D1F2E #2E8D1F
tetradic
#1F2E8D #8D1F65 #8D7E1F #1F8D47
square
#1F2E8D #8D1F65 #8D7E1F #1F8D47
split-complementary
#1F2E8D #8D471F #658D1F
monochromatic
#090D29 #141E5B #1F2E8D #2A3EBF #4E61D8
Accessibility & contrast
On white
11.45
#1F2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E8D
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E8D | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2e8d; /* rgb */ color: rgb(31, 46, 141); /* oklch */ color: oklch(35.8% 0.157 269.4);
Tailwind
colors: {
custom: {
50: '#6e66af',
500: '#1f2e8d',
950: '#000000',
},
}SCSS
$custom: #1f2e8d; $custom-light: #6e66af; $custom-dark: #000000;
JSON
{
"hex": "#1f2e8d",
"rgb": {
"r": 31,
"g": 46,
"b": 141
},
"hsl": {
"h": 231.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.35848,
"c": 0.15683,
"h": 269.4
},
"luminance": 0.04168
}Semantic roles & 50–950 ramp
primary
#1F2E8D
secondary
#BBAC4D
accent
#D041E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F