#1B1589#1B1589
#1B1589 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.178 H 271.7°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1589 |
|---|---|
| RGB | rgb(27, 21, 137) |
| HSL | hsl(243, 73%, 31%) |
| HSV | hsv(243, 85%, 54%) |
| CMYK | cmyk(80.3%, 84.7%, 0%, 46.3%) |
| CIE-LAB | lab(18.25, 42.58, -61.56) |
| CIE-LCH | lch(18.25, 74.85, 304.67°) |
| OKLab | oklab(31.41% 0.0052 -0.1781) |
| OKLCH | oklch(31.41% 0.178 271.7) |
| XYZ | xyz(5.2340, 2.5749, 23.8832) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.62
Darkblue
#00008B
ΔE00 3.30
Navy
#000080
ΔE00 3.83
Midnight Blue
#191970
ΔE00 4.18
Cobalt Blue
#030AA7
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1589 #838915
analogous
#154989 #1B1589 #551589
triadic
#1B1589 #891B15 #15891B
tetradic
#1B1589 #891549 #838915 #158955
square
#1B1589 #891549 #838915 #158955
split-complementary
#1B1589 #895515 #498915
monochromatic
#06051F #110D54 #1B1589 #251DBE #4138E0
Accessibility & contrast
On white
13.86
#1B1589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1B1589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1589
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1589 | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1589; /* rgb */ color: rgb(27, 21, 137); /* oklch */ color: oklch(31.4% 0.178 271.7);
Tailwind
colors: {
custom: {
50: '#6e56ad',
500: '#1b1589',
950: '#000000',
},
}SCSS
$custom: #1b1589; $custom-light: #6e56ad; $custom-dark: #000000;
JSON
{
"hex": "#1b1589",
"rgb": {
"r": 27,
"g": 21,
"b": 137
},
"hsl": {
"h": 243.103,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.31406,
"c": 0.17821,
"h": 271.7
},
"luminance": 0.02575
}Semantic roles & 50–950 ramp
primary
#1B1589
secondary
#B6BD3D
accent
#F038E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F