#1B1573#1B1573
#1B1573 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.151 H 274.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1573 |
|---|---|
| RGB | rgb(27, 21, 115) |
| HSL | hsl(244, 69%, 27%) |
| HSV | hsv(244, 82%, 45%) |
| CMYK | cmyk(76.5%, 81.7%, 0%, 54.9%) |
| CIE-LAB | lab(15.52, 35.30, -52.07) |
| CIE-LCH | lch(15.52, 62.91, 304.13°) |
| OKLab | oklab(28.72% 0.0108 -0.1506) |
| OKLCH | oklch(28.72% 0.151 274.1) |
| XYZ | xyz(3.8136, 2.0068, 16.4027) |
| Luminance | 0.0201 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.32
Dark Royal Blue
#02066F
ΔE00 3.23
Darkblue (survey)
#030764
ΔE00 3.75
Deep Blue
#040273
ΔE00 3.76
Navy
#000080
ΔE00 4.38
Royal
#0C1793
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1573 #6D7315
analogous
#153E73 #1B1573 #4A1573
triadic
#1B1573 #731B15 #15731B
tetradic
#1B1573 #73153E #6D7315 #15734A
square
#1B1573 #73153E #6D7315 #15734A
split-complementary
#1B1573 #734A15 #3E7315
monochromatic
#06051A #0F0C3F #1B1573 #271EA7 #352AD8
Accessibility & contrast
On white
14.99
#1B1573 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1B1573 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1573
14.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1573 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1573 | 1.00 | 14.99 | 1.40 | 14.99 |
| #FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1573; /* rgb */ color: rgb(27, 21, 115); /* oklch */ color: oklch(28.7% 0.151 274.1);
Tailwind
colors: {
custom: {
50: '#68559c',
500: '#1b1573',
950: '#000000',
},
}SCSS
$custom: #1b1573; $custom-light: #68559c; $custom-dark: #000000;
JSON
{
"hex": "#1b1573",
"rgb": {
"r": 27,
"g": 21,
"b": 115
},
"hsl": {
"h": 243.83,
"s": 69.118,
"l": 26.667
},
"oklch": {
"l": 0.28716,
"c": 0.15101,
"h": 274.1
},
"luminance": 0.02007
}Semantic roles & 50–950 ramp
primary
#1B1573
secondary
#A2A93B
accent
#EC3CE1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E