#1F2B85#1F2B85
#1F2B85 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.150 H 270.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B85 |
|---|---|
| RGB | rgb(31, 43, 133) |
| HSL | hsl(233, 62%, 32%) |
| HSV | hsv(233, 77%, 52%) |
| CMYK | cmyk(76.7%, 67.7%, 0%, 47.8%) |
| CIE-LAB | lab(22.70, 28.48, -51.71) |
| CIE-LCH | lch(22.70, 59.03, 298.84°) |
| OKLab | oklab(34.5% 0.0008 -0.1495) |
| OKLCH | oklch(34.5% 0.15 270.3) |
| XYZ | xyz(5.6611, 3.7119, 22.6039) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.45
Royal
#0C1793
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 7.24
Blueberry
#464196
ΔE00 7.61
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B85 #85791F
analogous
#1F5E85 #1F2B85 #461F85
triadic
#1F2B85 #851F2B #2B851F
tetradic
#1F2B85 #851F5E #85791F #1F8546
square
#1F2B85 #851F5E #85791F #1F8546
split-complementary
#1F2B85 #85461F #5E851F
monochromatic
#080B22 #131B53 #1F2B85 #2B3BB7 #4A5AD5
Accessibility & contrast
On white
12.05
#1F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1F2B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B85
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B85 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2b85; /* rgb */ color: rgb(31, 43, 133); /* oklch */ color: oklch(34.5% 0.150 270.3);
Tailwind
colors: {
custom: {
50: '#6c64a9',
500: '#1f2b85',
950: '#000000',
},
}SCSS
$custom: #1f2b85; $custom-light: #6c64a9; $custom-dark: #000000;
JSON
{
"hex": "#1f2b85",
"rgb": {
"r": 31,
"g": 43,
"b": 133
},
"hsl": {
"h": 232.941,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.345,
"c": 0.14954,
"h": 270.3
},
"luminance": 0.03713
}Semantic roles & 50–950 ramp
primary
#1F2B85
secondary
#B7AA49
accent
#D243E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F