#1B1686#1B1686
#1B1686 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.174 H 271.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1686 |
|---|---|
| RGB | rgb(27, 22, 134) |
| HSL | hsl(243, 72%, 31%) |
| HSV | hsv(243, 84%, 53%) |
| CMYK | cmyk(79.9%, 83.6%, 0%, 47.5%) |
| CIE-LAB | lab(18.04, 41.12, -60.02) |
| CIE-LCH | lch(18.04, 72.75, 304.41°) |
| OKLab | oklab(31.15% 0.0057 -0.1737) |
| OKLCH | oklch(31.15% 0.174 271.9) |
| XYZ | xyz(5.0405, 2.5275, 22.7718) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Darkblue
#00008B
ΔE00 3.56
Midnight Blue
#191970
ΔE00 3.69
Navy
#000080
ΔE00 3.89
Deep Blue
#040273
ΔE00 4.60
Dark Royal Blue
#02066F
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1686 #818616
analogous
#164986 #1B1686 #531686
triadic
#1B1686 #861B16 #16861B
tetradic
#1B1686 #861649 #818616 #168653
square
#1B1686 #861649 #818616 #168653
split-complementary
#1B1686 #865316 #498616
monochromatic
#06051D #100D51 #1B1686 #261FBB #3F38DE
Accessibility & contrast
On white
13.95
#1B1686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1B1686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1686
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1686 | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003189
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b1686; /* rgb */ color: rgb(27, 22, 134); /* oklch */ color: oklch(31.2% 0.174 271.9);
Tailwind
colors: {
custom: {
50: '#6d57ab',
500: '#1b1686',
950: '#000000',
},
}SCSS
$custom: #1b1686; $custom-light: #6d57ab; $custom-dark: #000000;
JSON
{
"hex": "#1b1686",
"rgb": {
"r": 27,
"g": 22,
"b": 134
},
"hsl": {
"h": 242.679,
"s": 71.795,
"l": 30.588
},
"oklch": {
"l": 0.31151,
"c": 0.17379,
"h": 271.9
},
"luminance": 0.02528
}Semantic roles & 50–950 ramp
primary
#1B1686
secondary
#B5BA3E
accent
#EF39E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F