#1F2D86#1F2D86
#1F2D86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.148 H 269.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D86 |
|---|---|
| RGB | rgb(31, 45, 134) |
| HSL | hsl(232, 62%, 32%) |
| HSV | hsv(232, 77%, 53%) |
| CMYK | cmyk(76.9%, 66.4%, 0%, 47.5%) |
| CIE-LAB | lab(23.30, 27.51, -51.34) |
| CIE-LCH | lch(23.30, 58.25, 298.18°) |
| OKLab | oklab(34.97% -0.0006 -0.1485) |
| OKLCH | oklch(34.97% 0.148 269.8) |
| XYZ | xyz(5.8051, 3.8887, 22.9943) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.86
Midnight Blue
#191970
ΔE00 6.03
Royal
#0C1793
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 7.00
Blueberry
#464196
ΔE00 7.24
Marine
#042E60
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D86 #86781F
analogous
#1F6086 #1F2D86 #451F86
triadic
#1F2D86 #861F2D #2D861F
tetradic
#1F2D86 #861F60 #86781F #1F8645
square
#1F2D86 #861F60 #86781F #1F8645
split-complementary
#1F2D86 #86451F #60861F
monochromatic
#080C23 #141C54 #1F2D86 #2A3EB8 #4A5DD5
Accessibility & contrast
On white
11.81
#1F2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1F2D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D86
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D86 | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f2d86; /* rgb */ color: rgb(31, 45, 134); /* oklch */ color: oklch(35.0% 0.148 269.8);
Tailwind
colors: {
custom: {
50: '#6c66aa',
500: '#1f2d86',
950: '#000000',
},
}SCSS
$custom: #1f2d86; $custom-light: #6c66aa; $custom-dark: #000000;
JSON
{
"hex": "#1f2d86",
"rgb": {
"r": 31,
"g": 45,
"b": 134
},
"hsl": {
"h": 231.845,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.34972,
"c": 0.14846,
"h": 269.8
},
"luminance": 0.03889
}Semantic roles & 50–950 ramp
primary
#1F2D86
secondary
#B8A949
accent
#CF42E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F