#1F2E83#1F2E83
#1F2E83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.143 H 269.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E83 |
|---|---|
| RGB | rgb(31, 46, 131) |
| HSL | hsl(231, 62%, 32%) |
| HSV | hsv(231, 76%, 51%) |
| CMYK | cmyk(76.3%, 64.9%, 0%, 48.6%) |
| CIE-LAB | lab(23.28, 25.67, -49.49) |
| CIE-LCH | lch(23.28, 55.75, 297.42°) |
| OKLab | oklab(34.87% -0.0011 -0.143) |
| OKLCH | oklch(34.87% 0.143 269.5) |
| XYZ | xyz(5.6374, 3.8834, 21.9208) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.18
Midnight Blue
#191970
ΔE00 6.20
Royal
#0C1793
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 6.94
Marine
#042E60
ΔE00 7.21
Blueberry
#464196
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E83 #83741F
analogous
#1F6083 #1F2E83 #421F83
triadic
#1F2E83 #831F2E #2E831F
tetradic
#1F2E83 #831F60 #83741F #1F8342
square
#1F2E83 #831F60 #83741F #1F8342
split-complementary
#1F2E83 #83421F #60831F
monochromatic
#080B20 #131D52 #1F2E83 #2B3FB4 #495DD4
Accessibility & contrast
On white
11.82
#1F2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1F2E83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E83
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E83 | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f2e83; /* rgb */ color: rgb(31, 46, 131); /* oklch */ color: oklch(34.9% 0.143 269.5);
Tailwind
colors: {
custom: {
50: '#6b66a8',
500: '#1f2e83',
950: '#000000',
},
}SCSS
$custom: #1f2e83; $custom-light: #6b66a8; $custom-dark: #000000;
JSON
{
"hex": "#1f2e83",
"rgb": {
"r": 31,
"g": 46,
"b": 131
},
"hsl": {
"h": 231,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.34873,
"c": 0.14303,
"h": 269.5
},
"luminance": 0.03884
}Semantic roles & 50–950 ramp
primary
#1F2E83
secondary
#B6A548
accent
#CD43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F