#1B1571#1B1571
#1B1571 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.148 H 274.4°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1571 |
|---|---|
| RGB | rgb(27, 21, 113) |
| HSL | hsl(244, 69%, 26%) |
| HSV | hsv(244, 81%, 44%) |
| CMYK | cmyk(76.1%, 81.4%, 0%, 55.7%) |
| CIE-LAB | lab(15.28, 34.62, -51.17) |
| CIE-LCH | lch(15.28, 61.78, 304.08°) |
| OKLab | oklab(28.48% 0.0113 -0.148) |
| OKLCH | oklch(28.48% 0.148 274.4) |
| XYZ | xyz(3.6998, 1.9612, 15.8032) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.18
Dark Royal Blue
#02066F
ΔE00 3.24
Darkblue (survey)
#030764
ΔE00 3.61
Deep Blue
#040273
ΔE00 3.84
Navy
#000080
ΔE00 4.58
Royal
#0C1793
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1571 #6B7115
analogous
#153D71 #1B1571 #491571
triadic
#1B1571 #711B15 #15711B
tetradic
#1B1571 #71153D #6B7115 #157149
square
#1B1571 #71153D #6B7115 #157149
split-complementary
#1B1571 #714915 #3D7115
monochromatic
#06051A #0F0B3D #1B1571 #271FA5 #3529D7
Accessibility & contrast
On white
15.08
#1B1571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#1B1571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1571
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1571 | 1.00 | 15.08 | 1.39 | 15.08 |
| #FFFFFF | 15.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #1b1571; /* rgb */ color: rgb(27, 21, 113); /* oklch */ color: oklch(28.5% 0.148 274.4);
Tailwind
colors: {
custom: {
50: '#67549b',
500: '#1b1571',
950: '#000000',
},
}SCSS
$custom: #1b1571; $custom-light: #67549b; $custom-dark: #000000;
JSON
{
"hex": "#1b1571",
"rgb": {
"r": 27,
"g": 21,
"b": 113
},
"hsl": {
"h": 243.913,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.28477,
"c": 0.14844,
"h": 274.4
},
"luminance": 0.01962
}Semantic roles & 50–950 ramp
primary
#1B1571
secondary
#A0A73B
accent
#EB3CE0
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E