#1F2B86#1F2B86
#1F2B86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.151 H 270.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B86 |
|---|---|
| RGB | rgb(31, 43, 134) |
| HSL | hsl(233, 62%, 32%) |
| HSV | hsv(233, 77%, 53%) |
| CMYK | cmyk(76.9%, 67.9%, 0%, 47.5%) |
| CIE-LAB | lab(22.79, 28.86, -52.18) |
| CIE-LCH | lch(22.79, 59.62, 298.94°) |
| OKLab | oklab(34.6% 0.0007 -0.1509) |
| OKLCH | oklch(34.6% 0.151 270.3) |
| XYZ | xyz(5.7306, 3.7397, 22.9695) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.51
Royal
#0C1793
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 7.24
Blueberry
#464196
ΔE00 7.57
Marine
#042E60
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B86 #867A1F
analogous
#1F5E86 #1F2B86 #471F86
triadic
#1F2B86 #861F2B #2B861F
tetradic
#1F2B86 #861F5E #867A1F #1F8647
square
#1F2B86 #861F5E #867A1F #1F8647
split-complementary
#1F2B86 #86471F #5E861F
monochromatic
#080B23 #141B54 #1F2B86 #2A3BB8 #4A5AD5
Accessibility & contrast
On white
12.01
#1F2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1F2B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B86
12.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B86 | 1.00 | 12.01 | 1.75 | 12.01 |
| #FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f2b86; /* rgb */ color: rgb(31, 43, 134); /* oklch */ color: oklch(34.6% 0.151 270.3);
Tailwind
colors: {
custom: {
50: '#6c64aa',
500: '#1f2b86',
950: '#000000',
},
}SCSS
$custom: #1f2b86; $custom-light: #6c64aa; $custom-dark: #000000;
JSON
{
"hex": "#1f2b86",
"rgb": {
"r": 31,
"g": 43,
"b": 134
},
"hsl": {
"h": 233.01,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.34599,
"c": 0.15092,
"h": 270.3
},
"luminance": 0.0374
}Semantic roles & 50–950 ramp
primary
#1F2B86
secondary
#B8AB49
accent
#D242E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F