#1B1B89#1B1B89
#1B1B89 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.173 H 271.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B89 |
|---|---|
| RGB | rgb(27, 27, 137) |
| HSL | hsl(240, 67%, 32%) |
| HSV | hsv(240, 80%, 54%) |
| CMYK | cmyk(80.3%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(19.32, 39.48, -59.79) |
| CIE-LCH | lch(19.32, 71.65, 303.44°) |
| OKLab | oklab(32.15% 0.0034 -0.1731) |
| OKLCH | oklch(32.15% 0.173 271.1) |
| XYZ | xyz(5.3578, 2.8224, 23.9245) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.76
Midnight Blue
#191970
ΔE00 3.90
Darkblue
#00008B
ΔE00 4.51
Cobalt Blue
#030AA7
ΔE00 4.74
Navy
#000080
ΔE00 4.97
Royal Blue (survey)
#0504AA
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B89 #89891B
analogous
#1B5289 #1B1B89 #521B89
triadic
#1B1B89 #891B1B #1B891B
tetradic
#1B1B89 #891B52 #89891B #1B8952
square
#1B1B89 #891B52 #89891B #1B8952
split-complementary
#1B1B89 #89521B #52891B
monochromatic
#070723 #111156 #1B1B89 #2525BC #4444DA
Accessibility & contrast
On white
13.42
#1B1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B89
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B89 | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b1b89; /* rgb */ color: rgb(27, 27, 137); /* oklch */ color: oklch(32.1% 0.173 271.1);
Tailwind
colors: {
custom: {
50: '#6d5aad',
500: '#1b1b89',
950: '#000000',
},
}SCSS
$custom: #1b1b89; $custom-light: #6d5aad; $custom-dark: #000000;
JSON
{
"hex": "#1b1b89",
"rgb": {
"r": 27,
"g": 27,
"b": 137
},
"hsl": {
"h": 240,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.32147,
"c": 0.17315,
"h": 271.1
},
"luminance": 0.02823
}Semantic roles & 50–950 ramp
primary
#1B1B89
secondary
#BCBC44
accent
#EA3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F