#1B1E88#1B1E88
#1B1E88 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.169 H 270.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E88 |
|---|---|
| RGB | rgb(27, 30, 136) |
| HSL | hsl(238, 67%, 32%) |
| HSV | hsv(238, 80%, 53%) |
| CMYK | cmyk(80.1%, 77.9%, 0%, 46.7%) |
| CIE-LAB | lab(19.80, 37.43, -58.37) |
| CIE-LCH | lch(19.80, 69.34, 302.67°) |
| OKLab | oklab(32.45% 0.0026 -0.169) |
| OKLCH | oklch(32.45% 0.169 270.9) |
| XYZ | xyz(5.3587, 2.9385, 23.5726) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.30
Midnight Blue
#191970
ΔE00 3.78
Darkblue
#00008B
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.29
Navy
#000080
ΔE00 5.63
Royal Blue (survey)
#0504AA
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E88 #88851B
analogous
#1B5488 #1B1E88 #4F1B88
triadic
#1B1E88 #881B1E #1E881B
tetradic
#1B1E88 #881B54 #88851B #1B884F
square
#1B1E88 #881B54 #88851B #1B884F
split-complementary
#1B1E88 #884F1B #54881B
monochromatic
#070722 #111355 #1B1E88 #2529BB #4448DA
Accessibility & contrast
On white
13.23
#1B1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B1E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E88
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E88 | 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)
#00358B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1e88; /* rgb */ color: rgb(27, 30, 136); /* oklch */ color: oklch(32.5% 0.169 270.9);
Tailwind
colors: {
custom: {
50: '#6d5bac',
500: '#1b1e88',
950: '#000000',
},
}SCSS
$custom: #1b1e88; $custom-light: #6d5bac; $custom-dark: #000000;
JSON
{
"hex": "#1b1e88",
"rgb": {
"r": 27,
"g": 30,
"b": 136
},
"hsl": {
"h": 238.349,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.3245,
"c": 0.16906,
"h": 270.9
},
"luminance": 0.02939
}Semantic roles & 50–950 ramp
primary
#1B1E88
secondary
#BBB844
accent
#E53EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F