#1B1390#1B1390
#1B1390 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.188 H 271.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1390 |
|---|---|
| RGB | rgb(27, 19, 144) |
| HSL | hsl(244, 77%, 32%) |
| HSV | hsv(244, 87%, 56%) |
| CMYK | cmyk(81.3%, 86.8%, 0%, 43.5%) |
| CIE-LAB | lab(18.85, 45.69, -64.94) |
| CIE-LCH | lch(18.85, 79.41, 305.13°) |
| OKLab | oklab(32.07% 0.0038 -0.1879) |
| OKLCH | oklch(32.07% 0.188 271.2) |
| XYZ | xyz(5.7172, 2.7117, 26.6022) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.22
Darkblue
#00008B
ΔE00 3.07
Cobalt Blue
#030AA7
ΔE00 3.15
Royal Blue (survey)
#0504AA
ΔE00 3.64
Navy
#000080
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1390 #889013
analogous
#134A90 #1B1390 #5A1390
triadic
#1B1390 #901B13 #13901B
tetradic
#1B1390 #90134A #889013 #13905A
square
#1B1390 #90134A #889013 #13905A
split-complementary
#1B1390 #905A13 #4A9013
monochromatic
#070524 #110C5A #1B1390 #251AC6 #4439E5
Accessibility & contrast
On white
13.62
#1B1390 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1B1390 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1390
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1390 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1390 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b1390; /* rgb */ color: rgb(27, 19, 144); /* oklch */ color: oklch(32.1% 0.188 271.2);
Tailwind
colors: {
custom: {
50: '#7056b2',
500: '#1b1390',
950: '#000000',
},
}SCSS
$custom: #1b1390; $custom-light: #7056b2; $custom-dark: #000000;
JSON
{
"hex": "#1b1390",
"rgb": {
"r": 27,
"g": 19,
"b": 144
},
"hsl": {
"h": 243.84,
"s": 76.687,
"l": 31.961
},
"oklch": {
"l": 0.32075,
"c": 0.18792,
"h": 271.2
},
"luminance": 0.02712
}Semantic roles & 50–950 ramp
primary
#1B1390
secondary
#BBC43B
accent
#F335E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880