#1F2D82#1F2D82
#1F2D82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.143 H 269.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D82 |
|---|---|
| RGB | rgb(31, 45, 130) |
| HSL | hsl(232, 61%, 32%) |
| HSV | hsv(232, 76%, 51%) |
| CMYK | cmyk(76.2%, 65.4%, 0%, 49%) |
| CIE-LAB | lab(22.93, 25.97, -49.44) |
| CIE-LCH | lch(22.93, 55.85, 297.71°) |
| OKLab | oklab(34.58% -0.0004 -0.1429) |
| OKLCH | oklch(34.58% 0.143 269.8) |
| XYZ | xyz(5.5313, 3.7792, 21.5527) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 6.40
Royal
#0C1793
ΔE00 6.63
Darkslateblue
#483D8B
ΔE00 7.05
Marine
#042E60
ΔE00 7.25
Blueberry
#464196
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D82 #82741F
analogous
#1F5F82 #1F2D82 #431F82
triadic
#1F2D82 #821F2D #2D821F
tetradic
#1F2D82 #821F5F #82741F #1F8243
square
#1F2D82 #821F5F #82741F #1F8243
split-complementary
#1F2D82 #82431F #5F821F
monochromatic
#070B1F #131C51 #1F2D82 #2B3EB3 #485CD3
Accessibility & contrast
On white
11.96
#1F2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1F2D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D82
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D82 | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f2d82; /* rgb */ color: rgb(31, 45, 130); /* oklch */ color: oklch(34.6% 0.143 269.8);
Tailwind
colors: {
custom: {
50: '#6b65a7',
500: '#1f2d82',
950: '#000000',
},
}SCSS
$custom: #1f2d82; $custom-light: #6b65a7; $custom-dark: #000000;
JSON
{
"hex": "#1f2d82",
"rgb": {
"r": 31,
"g": 45,
"b": 130
},
"hsl": {
"h": 231.515,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.34583,
"c": 0.1429,
"h": 269.8
},
"luminance": 0.0378
}Semantic roles & 50–950 ramp
primary
#1F2D82
secondary
#B5A548
accent
#CE43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F