#1B1986#1B1986
#1B1986 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.171 H 271.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1986 |
|---|---|
| RGB | rgb(27, 25, 134) |
| HSL | hsl(241, 69%, 31%) |
| HSV | hsv(241, 81%, 53%) |
| CMYK | cmyk(79.9%, 81.3%, 0%, 47.5%) |
| CIE-LAB | lab(18.58, 39.56, -59.13) |
| CIE-LCH | lch(18.58, 71.14, 303.78°) |
| OKLab | oklab(31.53% 0.0047 -0.1712) |
| OKLCH | oklch(31.53% 0.171 271.6) |
| XYZ | xyz(5.1012, 2.6489, 22.7921) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.99
Midnight Blue
#191970
ΔE00 3.51
Darkblue
#00008B
ΔE00 4.16
Navy
#000080
ΔE00 4.49
Cobalt Blue
#030AA7
ΔE00 4.92
Dark Royal Blue
#02066F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1986 #848619
analogous
#194D86 #1B1986 #511986
triadic
#1B1986 #861B19 #19861B
tetradic
#1B1986 #86194D #848619 #198651
square
#1B1986 #86194D #848619 #198651
split-complementary
#1B1986 #865119 #4D8619
monochromatic
#06061F #110F52 #1B1986 #2523BA #413EDB
Accessibility & contrast
On white
13.73
#1B1986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1B1986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1986
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1986 | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1986; /* rgb */ color: rgb(27, 25, 134); /* oklch */ color: oklch(31.5% 0.171 271.6);
Tailwind
colors: {
custom: {
50: '#6d58aa',
500: '#1b1986',
950: '#000000',
},
}SCSS
$custom: #1b1986; $custom-light: #6d58aa; $custom-dark: #000000;
JSON
{
"hex": "#1b1986",
"rgb": {
"r": 27,
"g": 25,
"b": 134
},
"hsl": {
"h": 241.101,
"s": 68.553,
"l": 31.176
},
"oklch": {
"l": 0.31525,
"c": 0.17124,
"h": 271.6
},
"luminance": 0.0265
}Semantic roles & 50–950 ramp
primary
#1B1986
secondary
#B7BA41
accent
#EB3CE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F