#1B1480#1B1480
#1B1480 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.168 H 272.7°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1480 |
|---|---|
| RGB | rgb(27, 20, 128) |
| HSL | hsl(244, 73%, 29%) |
| HSV | hsv(244, 84%, 50%) |
| CMYK | cmyk(78.9%, 84.4%, 0%, 49.8%) |
| CIE-LAB | lab(16.95, 40.16, -58.04) |
| CIE-LCH | lch(16.95, 70.58, 304.68°) |
| OKLab | oklab(30.17% 0.0078 -0.1679) |
| OKLCH | oklch(30.17% 0.168 272.7) |
| XYZ | xyz(4.5971, 2.2913, 20.6179) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.84
Midnight Blue
#191970
ΔE00 3.05
Navy
#000080
ΔE00 3.46
Darkblue
#00008B
ΔE00 3.52
Dark Royal Blue
#02066F
ΔE00 3.78
Deep Blue
#040273
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1480 #798014
analogous
#144380 #1B1480 #511480
triadic
#1B1480 #801B14 #14801B
tetradic
#1B1480 #801443 #798014 #148051
square
#1B1480 #801443 #798014 #148051
split-complementary
#1B1480 #805114 #438014
monochromatic
#06041A #100C4B #1B1480 #261CB5 #3B30DF
Accessibility & contrast
On white
14.40
#1B1480 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1B1480 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1480
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1480 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1480 | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b1480; /* rgb */ color: rgb(27, 20, 128); /* oklch */ color: oklch(30.2% 0.168 272.7);
Tailwind
colors: {
custom: {
50: '#6b55a6',
500: '#1b1480',
950: '#000000',
},
}SCSS
$custom: #1b1480; $custom-light: #6b55a6; $custom-dark: #000000;
JSON
{
"hex": "#1b1480",
"rgb": {
"r": 27,
"g": 20,
"b": 128
},
"hsl": {
"h": 243.889,
"s": 72.973,
"l": 29.02
},
"oklch": {
"l": 0.30174,
"c": 0.16811,
"h": 272.7
},
"luminance": 0.02292
}Semantic roles & 50–950 ramp
primary
#1B1480
secondary
#ADB53B
accent
#F038E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F