#1B1B86#1B1B86
#1B1B86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.169 H 271.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B86 |
|---|---|
| RGB | rgb(27, 27, 134) |
| HSL | hsl(240, 66%, 32%) |
| HSV | hsv(240, 80%, 53%) |
| CMYK | cmyk(79.9%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(18.96, 38.46, -58.50) |
| CIE-LCH | lch(18.96, 70.01, 303.32°) |
| OKLab | oklab(31.79% 0.0041 -0.1694) |
| OKLCH | oklch(31.79% 0.169 271.4) |
| XYZ | xyz(5.1455, 2.7375, 22.8068) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.14
Midnight Blue
#191970
ΔE00 3.46
Darkblue
#00008B
ΔE00 4.60
Navy
#000080
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 5.14
Dark Royal Blue
#02066F
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B86 #86861B
analogous
#1B5186 #1B1B86 #511B86
triadic
#1B1B86 #861B1B #1B861B
tetradic
#1B1B86 #861B51 #86861B #1B8651
square
#1B1B86 #861B51 #86861B #1B8651
split-complementary
#1B1B86 #86511B #51861B
monochromatic
#060620 #111153 #1B1B86 #2525B9 #4242D9
Accessibility & contrast
On white
13.57
#1B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B1B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B86
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B86 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b1b86; /* rgb */ color: rgb(27, 27, 134); /* oklch */ color: oklch(31.8% 0.169 271.4);
Tailwind
colors: {
custom: {
50: '#6c59aa',
500: '#1b1b86',
950: '#000000',
},
}SCSS
$custom: #1b1b86; $custom-light: #6c59aa; $custom-dark: #000000;
JSON
{
"hex": "#1b1b86",
"rgb": {
"r": 27,
"g": 27,
"b": 134
},
"hsl": {
"h": 240,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.31792,
"c": 0.16942,
"h": 271.4
},
"luminance": 0.02738
}Semantic roles & 50–950 ramp
primary
#1B1B86
secondary
#B9B944
accent
#E93EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F