#1B1789#1B1789
#1B1789 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.177 H 271.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1789 |
|---|---|
| RGB | rgb(27, 23, 137) |
| HSL | hsl(242, 71%, 31%) |
| HSV | hsv(242, 83%, 54%) |
| CMYK | cmyk(80.3%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(18.59, 41.59, -61.00) |
| CIE-LCH | lch(18.59, 73.83, 304.29°) |
| OKLab | oklab(31.64% 0.0046 -0.1766) |
| OKLCH | oklch(31.64% 0.177 271.5) |
| XYZ | xyz(5.2722, 2.6514, 23.8960) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.56
Darkblue
#00008B
ΔE00 3.68
Midnight Blue
#191970
ΔE00 4.05
Navy
#000080
ΔE00 4.18
Cobalt Blue
#030AA7
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1789 #858917
analogous
#174C89 #1B1789 #541789
triadic
#1B1789 #891B17 #17891B
tetradic
#1B1789 #89174C #858917 #178954
square
#1B1789 #89174C #858917 #178954
split-complementary
#1B1789 #895417 #4C8917
monochromatic
#060520 #110E55 #1B1789 #2520BD #423CDE
Accessibility & contrast
On white
13.72
#1B1789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1B1789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1789
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1789 | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1789; /* rgb */ color: rgb(27, 23, 137); /* oklch */ color: oklch(31.6% 0.177 271.5);
Tailwind
colors: {
custom: {
50: '#6e57ad',
500: '#1b1789',
950: '#000000',
},
}SCSS
$custom: #1b1789; $custom-light: #6e57ad; $custom-dark: #000000;
JSON
{
"hex": "#1b1789",
"rgb": {
"r": 27,
"g": 23,
"b": 137
},
"hsl": {
"h": 242.105,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.31639,
"c": 0.17661,
"h": 271.5
},
"luminance": 0.02652
}Semantic roles & 50–950 ramp
primary
#1B1789
secondary
#B8BD3F
accent
#EE3AE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F