#1B1081#1B1081
#1B1081 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.172 H 272.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1081 |
|---|---|
| RGB | rgb(27, 16, 129) |
| HSL | hsl(246, 78%, 28%) |
| HSV | hsv(246, 88%, 51%) |
| CMYK | cmyk(79.1%, 87.6%, 0%, 49.4%) |
| CIE-LAB | lab(16.44, 42.34, -59.51) |
| CIE-LCH | lch(16.44, 73.04, 305.43°) |
| OKLab | oklab(29.87% 0.0086 -0.1721) |
| OKLCH | oklch(29.87% 0.172 272.9) |
| XYZ | xyz(4.5984, 2.1881, 20.9446) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.79
Darkblue
#00008B
ΔE00 2.83
Royal
#0C1793
ΔE00 2.95
Deep Blue
#040273
ΔE00 3.37
Dark Royal Blue
#02066F
ΔE00 3.51
Midnight Blue
#191970
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1081 #768110
analogous
#103D81 #1B1081 #531081
triadic
#1B1081 #811B10 #10811B
tetradic
#1B1081 #81103D #768110 #108153
square
#1B1081 #81103D #768110 #108153
split-complementary
#1B1081 #815310 #3D8110
monochromatic
#06031B #10094B #1B1081 #2617B7 #3A27E4
Accessibility & contrast
On white
14.61
#1B1081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#1B1081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1081
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1081 | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1081; /* rgb */ color: rgb(27, 16, 129); /* oklch */ color: oklch(29.9% 0.172 272.9);
Tailwind
colors: {
custom: {
50: '#6c53a7',
500: '#1b1081',
950: '#000000',
},
}SCSS
$custom: #1b1081; $custom-light: #6c53a7; $custom-dark: #000000;
JSON
{
"hex": "#1b1081",
"rgb": {
"r": 27,
"g": 16,
"b": 129
},
"hsl": {
"h": 245.841,
"s": 77.931,
"l": 28.431
},
"oklch": {
"l": 0.29865,
"c": 0.17231,
"h": 272.9
},
"luminance": 0.02189
}Semantic roles & 50–950 ramp
primary
#1B1081
secondary
#AAB736
accent
#F433E2
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F