#1B1A86#1B1A86
#1B1A86 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.170 H 271.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1A86 |
|---|---|
| RGB | rgb(27, 26, 134) |
| HSL | hsl(241, 68%, 31%) |
| HSV | hsv(241, 81%, 53%) |
| CMYK | cmyk(79.9%, 80.6%, 0%, 47.5%) |
| CIE-LAB | lab(18.77, 39.01, -58.82) |
| CIE-LCH | lch(18.77, 70.58, 303.55°) |
| OKLab | oklab(31.66% 0.0044 -0.1703) |
| OKLCH | oklch(31.66% 0.17 271.5) |
| XYZ | xyz(5.1230, 2.6925, 22.7993) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.05
Midnight Blue
#191970
ΔE00 3.48
Darkblue
#00008B
ΔE00 4.38
Navy
#000080
ΔE00 4.70
Cobalt Blue
#030AA7
ΔE00 5.02
Dark Royal Blue
#02066F
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1A86 #85861A
analogous
#1A4F86 #1B1A86 #511A86
triadic
#1B1A86 #861B1A #1A861B
tetradic
#1B1A86 #861A4F #85861A #1A8651
square
#1B1A86 #861A4F #85861A #1A8651
split-complementary
#1B1A86 #86511A #4F861A
monochromatic
#06061F #111053 #1B1A86 #2524B9 #4240DA
Accessibility & contrast
On white
13.65
#1B1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1B1A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1A86
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1A86 | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b1a86; /* rgb */ color: rgb(27, 26, 134); /* oklch */ color: oklch(31.7% 0.170 271.5);
Tailwind
colors: {
custom: {
50: '#6c59aa',
500: '#1b1a86',
950: '#000000',
},
}SCSS
$custom: #1b1a86; $custom-light: #6c59aa; $custom-dark: #000000;
JSON
{
"hex": "#1b1a86",
"rgb": {
"r": 27,
"g": 26,
"b": 134
},
"hsl": {
"h": 240.556,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.31657,
"c": 0.17034,
"h": 271.5
},
"luminance": 0.02693
}Semantic roles & 50–950 ramp
primary
#1B1A86
secondary
#B8B942
accent
#EA3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F