#1B1E85#1B1E85
#1B1E85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.165 H 271.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E85 |
|---|---|
| RGB | rgb(27, 30, 133) |
| HSL | hsl(238, 66%, 31%) |
| HSV | hsv(238, 80%, 52%) |
| CMYK | cmyk(79.7%, 77.4%, 0%, 47.8%) |
| CIE-LAB | lab(19.45, 36.38, -57.06) |
| CIE-LCH | lch(19.45, 67.67, 302.52°) |
| OKLab | oklab(32.1% 0.0031 -0.1652) |
| OKLCH | oklch(32.1% 0.165 271.1) |
| XYZ | xyz(5.1485, 2.8544, 22.4654) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.66
Midnight Blue
#191970
ΔE00 3.35
Darkblue
#00008B
ΔE00 5.36
Navy
#000080
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 5.68
Dark Royal Blue
#02066F
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E85 #85821B
analogous
#1B5385 #1B1E85 #4D1B85
triadic
#1B1E85 #851B1E #1E851B
tetradic
#1B1E85 #851B53 #85821B #1B854D
square
#1B1E85 #851B53 #85821B #1B854D
split-complementary
#1B1E85 #854D1B #53851B
monochromatic
#06071F #111352 #1B1E85 #2529B8 #4246D9
Accessibility & contrast
On white
13.37
#1B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B1E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E85
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E85 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b1e85; /* rgb */ color: rgb(27, 30, 133); /* oklch */ color: oklch(32.1% 0.165 271.1);
Tailwind
colors: {
custom: {
50: '#6c5baa',
500: '#1b1e85',
950: '#000000',
},
}SCSS
$custom: #1b1e85; $custom-light: #6c5baa; $custom-dark: #000000;
JSON
{
"hex": "#1b1e85",
"rgb": {
"r": 27,
"g": 30,
"b": 133
},
"hsl": {
"h": 238.302,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.32104,
"c": 0.16525,
"h": 271.1
},
"luminance": 0.02855
}Semantic roles & 50–950 ramp
primary
#1B1E85
secondary
#B8B544
accent
#E43FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F