#1F2B84#1F2B84
#1F2B84 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.148 H 270.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B84 |
|---|---|
| RGB | rgb(31, 43, 132) |
| HSL | hsl(233, 62%, 32%) |
| HSV | hsv(233, 77%, 52%) |
| CMYK | cmyk(76.5%, 67.4%, 0%, 48.2%) |
| CIE-LAB | lab(22.60, 28.10, -51.24) |
| CIE-LCH | lch(22.60, 58.43, 298.74°) |
| OKLab | oklab(34.4% 0.0008 -0.1482) |
| OKLCH | oklch(34.4% 0.148 270.3) |
| XYZ | xyz(5.5924, 3.6844, 22.2418) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.39
Royal
#0C1793
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 7.25
Blueberry
#464196
ΔE00 7.65
Marine
#042E60
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B84 #84781F
analogous
#1F5E84 #1F2B84 #461F84
triadic
#1F2B84 #841F2B #2B841F
tetradic
#1F2B84 #841F5E #84781F #1F8446
square
#1F2B84 #841F5E #84781F #1F8446
split-complementary
#1F2B84 #84461F #5E841F
monochromatic
#080B21 #131B52 #1F2B84 #2B3BB6 #495AD4
Accessibility & contrast
On white
12.09
#1F2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1F2B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B84
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B84 | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2b84; /* rgb */ color: rgb(31, 43, 132); /* oklch */ color: oklch(34.4% 0.148 270.3);
Tailwind
colors: {
custom: {
50: '#6b64a9',
500: '#1f2b84',
950: '#000000',
},
}SCSS
$custom: #1f2b84; $custom-light: #6b64a9; $custom-dark: #000000;
JSON
{
"hex": "#1f2b84",
"rgb": {
"r": 31,
"g": 43,
"b": 132
},
"hsl": {
"h": 232.871,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.344,
"c": 0.14817,
"h": 270.3
},
"luminance": 0.03685
}Semantic roles & 50–950 ramp
primary
#1F2B84
secondary
#B7AA48
accent
#D243E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F