#1B1F86#1B1F86
#1B1F86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.166 H 270.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1F86 |
|---|---|
| RGB | rgb(27, 31, 134) |
| HSL | hsl(238, 66%, 32%) |
| HSV | hsv(238, 80%, 53%) |
| CMYK | cmyk(79.9%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(19.78, 36.13, -57.15) |
| CIE-LCH | lch(19.78, 67.62, 302.30°) |
| OKLab | oklab(32.37% 0.0026 -0.1655) |
| OKLCH | oklch(32.37% 0.166 270.9) |
| XYZ | xyz(5.2436, 2.9336, 22.8395) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.71
Midnight Blue
#191970
ΔE00 3.55
Darkblue
#00008B
ΔE00 5.56
Cobalt Blue
#030AA7
ΔE00 5.70
Navy
#000080
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1F86 #86821B
analogous
#1B5586 #1B1F86 #4D1B86
triadic
#1B1F86 #861B1F #1F861B
tetradic
#1B1F86 #861B55 #86821B #1B864D
square
#1B1F86 #861B55 #86821B #1B864D
split-complementary
#1B1F86 #864D1B #55861B
monochromatic
#060720 #111353 #1B1F86 #252BB9 #4248D9
Accessibility & contrast
On white
13.23
#1B1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1F86
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1F86 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1f86; /* rgb */ color: rgb(27, 31, 134); /* oklch */ color: oklch(32.4% 0.166 270.9);
Tailwind
colors: {
custom: {
50: '#6c5caa',
500: '#1b1f86',
950: '#000000',
},
}SCSS
$custom: #1b1f86; $custom-light: #6c5caa; $custom-dark: #000000;
JSON
{
"hex": "#1b1f86",
"rgb": {
"r": 27,
"g": 31,
"b": 134
},
"hsl": {
"h": 237.757,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32368,
"c": 0.16551,
"h": 270.9
},
"luminance": 0.02934
}Semantic roles & 50–950 ramp
primary
#1B1F86
secondary
#B9B544
accent
#E33EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F