#1B1572#1B1572
#1B1572 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.150 H 274.2°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1572 |
|---|---|
| RGB | rgb(27, 21, 114) |
| HSL | hsl(244, 69%, 26%) |
| HSV | hsv(244, 82%, 45%) |
| CMYK | cmyk(76.3%, 81.6%, 0%, 55.3%) |
| CIE-LAB | lab(15.40, 34.96, -51.62) |
| CIE-LCH | lch(15.40, 62.34, 304.11°) |
| OKLab | oklab(28.6% 0.011 -0.1493) |
| OKLCH | oklch(28.6% 0.15 274.2) |
| XYZ | xyz(3.7564, 1.9839, 16.1013) |
| Luminance | 0.0198 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.25
Dark Royal Blue
#02066F
ΔE00 3.23
Darkblue (survey)
#030764
ΔE00 3.68
Deep Blue
#040273
ΔE00 3.79
Navy
#000080
ΔE00 4.47
Royal
#0C1793
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1572 #6C7215
analogous
#153E72 #1B1572 #4A1572
triadic
#1B1572 #721B15 #15721B
tetradic
#1B1572 #72153E #6C7215 #15724A
square
#1B1572 #72153E #6C7215 #15724A
split-complementary
#1B1572 #724A15 #3E7215
monochromatic
#06051A #0F0B3E #1B1572 #271FA6 #352AD8
Accessibility & contrast
On white
15.03
#1B1572 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1B1572 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1572
15.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1572 | 1.00 | 15.03 | 1.40 | 15.03 |
| #FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1572; /* rgb */ color: rgb(27, 21, 114); /* oklch */ color: oklch(28.6% 0.150 274.2);
Tailwind
colors: {
custom: {
50: '#68559c',
500: '#1b1572',
950: '#000000',
},
}SCSS
$custom: #1b1572; $custom-light: #68559c; $custom-dark: #000000;
JSON
{
"hex": "#1b1572",
"rgb": {
"r": 27,
"g": 21,
"b": 114
},
"hsl": {
"h": 243.871,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.28596,
"c": 0.14972,
"h": 274.2
},
"luminance": 0.01984
}Semantic roles & 50–950 ramp
primary
#1B1572
secondary
#A1A83B
accent
#EC3CE0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E