#1B1590#1B1590
#1B1590 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.187 H 271.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1590 |
|---|---|
| RGB | rgb(27, 21, 144) |
| HSL | hsl(243, 75%, 32%) |
| HSV | hsv(243, 85%, 56%) |
| CMYK | cmyk(81.3%, 85.4%, 0%, 43.5%) |
| CIE-LAB | lab(19.15, 44.80, -64.45) |
| CIE-LCH | lch(19.15, 78.49, 304.81°) |
| OKLab | oklab(32.28% 0.0034 -0.1865) |
| OKLCH | oklch(32.28% 0.187 271.1) |
| XYZ | xyz(5.7525, 2.7823, 26.6140) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.01
Cobalt Blue
#030AA7
ΔE00 3.26
Darkblue
#00008B
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.79
Navy
#000080
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1590 #8A9015
analogous
#154C90 #1B1590 #591590
triadic
#1B1590 #901B15 #15901B
tetradic
#1B1590 #90154C #8A9015 #159059
square
#1B1590 #90154C #8A9015 #159059
split-complementary
#1B1590 #905915 #4C9015
monochromatic
#070525 #110D5B #1B1590 #251DC5 #453DE3
Accessibility & contrast
On white
13.49
#1B1590 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1B1590 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1590
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1590 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1590 | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b1590; /* rgb */ color: rgb(27, 21, 144); /* oklch */ color: oklch(32.3% 0.187 271.1);
Tailwind
colors: {
custom: {
50: '#7057b2',
500: '#1b1590',
950: '#000000',
},
}SCSS
$custom: #1b1590; $custom-light: #7057b2; $custom-dark: #000000;
JSON
{
"hex": "#1b1590",
"rgb": {
"r": 27,
"g": 21,
"b": 144
},
"hsl": {
"h": 242.927,
"s": 74.545,
"l": 32.353
},
"oklch": {
"l": 0.32281,
"c": 0.18651,
"h": 271.1
},
"luminance": 0.02783
}Semantic roles & 50–950 ramp
primary
#1B1590
secondary
#BCC23E
accent
#F137E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880