#1B1889#1B1889
#1B1889 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.176 H 271.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1889 |
|---|---|
| RGB | rgb(27, 24, 137) |
| HSL | hsl(242, 70%, 32%) |
| HSV | hsv(242, 82%, 54%) |
| CMYK | cmyk(80.3%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(18.76, 41.08, -60.71) |
| CIE-LCH | lch(18.76, 73.30, 304.09°) |
| OKLab | oklab(31.76% 0.0044 -0.1757) |
| OKLCH | oklch(31.76% 0.176 271.4) |
| XYZ | xyz(5.2925, 2.6918, 23.9027) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.56
Darkblue
#00008B
ΔE00 3.87
Midnight Blue
#191970
ΔE00 4.00
Navy
#000080
ΔE00 4.36
Cobalt Blue
#030AA7
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1889 #868918
analogous
#184E89 #1B1889 #541889
triadic
#1B1889 #891B18 #18891B
tetradic
#1B1889 #89184E #868918 #188954
square
#1B1889 #89184E #868918 #188954
split-complementary
#1B1889 #895418 #4E8918
monochromatic
#060621 #110F55 #1B1889 #2521BD #423EDD
Accessibility & contrast
On white
13.65
#1B1889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1B1889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1889
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1889 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b1889; /* rgb */ color: rgb(27, 24, 137); /* oklch */ color: oklch(31.8% 0.176 271.4);
Tailwind
colors: {
custom: {
50: '#6d58ad',
500: '#1b1889',
950: '#000000',
},
}SCSS
$custom: #1b1889; $custom-light: #6d58ad; $custom-dark: #000000;
JSON
{
"hex": "#1b1889",
"rgb": {
"r": 27,
"g": 24,
"b": 137
},
"hsl": {
"h": 241.593,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.31761,
"c": 0.17578,
"h": 271.4
},
"luminance": 0.02692
}Semantic roles & 50–950 ramp
primary
#1B1889
secondary
#B9BD40
accent
#ED3BE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F