#1B1E87#1B1E87
#1B1E87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.168 H 270.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E87 |
|---|---|
| RGB | rgb(27, 30, 135) |
| HSL | hsl(238, 67%, 32%) |
| HSV | hsv(238, 80%, 53%) |
| CMYK | cmyk(80%, 77.8%, 0%, 47.1%) |
| CIE-LAB | lab(19.68, 37.08, -57.94) |
| CIE-LCH | lch(19.68, 68.79, 302.62°) |
| OKLab | oklab(32.33% 0.0028 -0.1678) |
| OKLCH | oklch(32.33% 0.168 270.9) |
| XYZ | xyz(5.2880, 2.9102, 23.2000) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.42
Midnight Blue
#191970
ΔE00 3.64
Darkblue
#00008B
ΔE00 5.27
Cobalt Blue
#030AA7
ΔE00 5.41
Navy
#000080
ΔE00 5.62
Dark Royal Blue
#02066F
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E87 #87841B
analogous
#1B5487 #1B1E87 #4E1B87
triadic
#1B1E87 #871B1E #1E871B
tetradic
#1B1E87 #871B54 #87841B #1B874E
square
#1B1E87 #871B54 #87841B #1B874E
split-complementary
#1B1E87 #874E1B #54871B
monochromatic
#070721 #111354 #1B1E87 #2529BA #4347D9
Accessibility & contrast
On white
13.27
#1B1E87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B1E87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E87
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E87 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1e87; /* rgb */ color: rgb(27, 30, 135); /* oklch */ color: oklch(32.3% 0.168 270.9);
Tailwind
colors: {
custom: {
50: '#6c5bab',
500: '#1b1e87',
950: '#000000',
},
}SCSS
$custom: #1b1e87; $custom-light: #6c5bab; $custom-dark: #000000;
JSON
{
"hex": "#1b1e87",
"rgb": {
"r": 27,
"g": 30,
"b": 135
},
"hsl": {
"h": 238.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.32334,
"c": 0.16779,
"h": 270.9
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#1B1E87
secondary
#BAB744
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F