#1F2E82#1F2E82
#1F2E82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.142 H 269.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E82 |
|---|---|
| RGB | rgb(31, 46, 130) |
| HSL | hsl(231, 61%, 32%) |
| HSV | hsv(231, 76%, 51%) |
| CMYK | cmyk(76.2%, 64.6%, 0%, 49%) |
| CIE-LAB | lab(23.19, 25.29, -49.01) |
| CIE-LCH | lch(23.19, 55.15, 297.29°) |
| OKLab | oklab(34.78% -0.0011 -0.1416) |
| OKLCH | oklch(34.78% 0.142 269.5) |
| XYZ | xyz(5.5700, 3.8564, 21.5656) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.18
Sapphire (survey)
#2138AB
ΔE00 6.32
Royal
#0C1793
ΔE00 6.93
Darkslateblue
#483D8B
ΔE00 6.96
Marine
#042E60
ΔE00 7.07
Blueberry
#464196
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E82 #82731F
analogous
#1F6082 #1F2E82 #421F82
triadic
#1F2E82 #821F2E #2E821F
tetradic
#1F2E82 #821F60 #82731F #1F8242
square
#1F2E82 #821F60 #82731F #1F8242
split-complementary
#1F2E82 #82421F #60821F
monochromatic
#070B1F #131D51 #1F2E82 #2B3FB3 #485DD3
Accessibility & contrast
On white
11.86
#1F2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1F2E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E82
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E82 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f2e82; /* rgb */ color: rgb(31, 46, 130); /* oklch */ color: oklch(34.8% 0.142 269.5);
Tailwind
colors: {
custom: {
50: '#6b66a7',
500: '#1f2e82',
950: '#000000',
},
}SCSS
$custom: #1f2e82; $custom-light: #6b66a7; $custom-dark: #000000;
JSON
{
"hex": "#1f2e82",
"rgb": {
"r": 31,
"g": 46,
"b": 130
},
"hsl": {
"h": 230.909,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.34777,
"c": 0.14162,
"h": 269.5
},
"luminance": 0.03857
}Semantic roles & 50–950 ramp
primary
#1F2E82
secondary
#B5A448
accent
#CC43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F