#1B1886#1B1886
#1B1886 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.172 H 271.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1886 |
|---|---|
| RGB | rgb(27, 24, 134) |
| HSL | hsl(242, 70%, 31%) |
| HSV | hsv(242, 82%, 53%) |
| CMYK | cmyk(79.9%, 82.1%, 0%, 47.5%) |
| CIE-LAB | lab(18.40, 40.09, -59.44) |
| CIE-LCH | lch(18.40, 71.69, 304.00°) |
| OKLab | oklab(31.4% 0.0051 -0.172) |
| OKLCH | oklch(31.4% 0.172 271.7) |
| XYZ | xyz(5.0803, 2.6070, 22.7851) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Midnight Blue
#191970
ΔE00 3.56
Darkblue
#00008B
ΔE00 3.95
Navy
#000080
ΔE00 4.28
Cobalt Blue
#030AA7
ΔE00 4.82
Dark Royal Blue
#02066F
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1886 #838618
analogous
#184C86 #1B1886 #521886
triadic
#1B1886 #861B18 #18861B
tetradic
#1B1886 #86184C #838618 #188652
square
#1B1886 #86184C #838618 #188652
split-complementary
#1B1886 #865218 #4C8618
monochromatic
#06051E #110F52 #1B1886 #2521BA #413CDC
Accessibility & contrast
On white
13.80
#1B1886 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1B1886 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1886
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1886 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1886 | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1886; /* rgb */ color: rgb(27, 24, 134); /* oklch */ color: oklch(31.4% 0.172 271.7);
Tailwind
colors: {
custom: {
50: '#6d58aa',
500: '#1b1886',
950: '#000000',
},
}SCSS
$custom: #1b1886; $custom-light: #6d58aa; $custom-dark: #000000;
JSON
{
"hex": "#1b1886",
"rgb": {
"r": 27,
"g": 24,
"b": 134
},
"hsl": {
"h": 241.636,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.31396,
"c": 0.17211,
"h": 271.7
},
"luminance": 0.02608
}Semantic roles & 50–950 ramp
primary
#1B1886
secondary
#B6BA40
accent
#EC3BE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F