#1A1786#1A1786
#1A1786 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.173 H 271.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1786 |
|---|---|
| RGB | rgb(26, 23, 134) |
| HSL | hsl(242, 71%, 31%) |
| HSV | hsv(242, 83%, 53%) |
| CMYK | cmyk(80.6%, 82.8%, 0%, 47.5%) |
| CIE-LAB | lab(18.16, 40.54, -59.83) |
| CIE-LCH | lch(18.16, 72.28, 304.12°) |
| OKLab | oklab(31.21% 0.0041 -0.1732) |
| OKLCH | oklch(31.21% 0.173 271.4) |
| XYZ | xyz(5.0340, 2.5531, 22.7771) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.92
Midnight Blue
#191970
ΔE00 3.61
Darkblue
#00008B
ΔE00 3.74
Navy
#000080
ΔE00 4.07
Dark Royal Blue
#02066F
ΔE00 4.72
Deep Blue
#040273
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1786 #838617
analogous
#174B86 #1A1786 #511786
triadic
#1A1786 #861A17 #17861A
tetradic
#1A1786 #86174B #838617 #178651
square
#1A1786 #86174B #838617 #178651
split-complementary
#1A1786 #865117 #4B8617
monochromatic
#06051E #100E52 #1A1786 #2420BA #3F3ADD
Accessibility & contrast
On white
13.90
#1A1786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1A1786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1786
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1786 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a1786; /* rgb */ color: rgb(26, 23, 134); /* oklch */ color: oklch(31.2% 0.173 271.4);
Tailwind
colors: {
custom: {
50: '#6c57ab',
500: '#1a1786',
950: '#000000',
},
}SCSS
$custom: #1a1786; $custom-light: #6c57ab; $custom-dark: #000000;
JSON
{
"hex": "#1a1786",
"rgb": {
"r": 26,
"g": 23,
"b": 134
},
"hsl": {
"h": 241.622,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.31214,
"c": 0.17324,
"h": 271.4
},
"luminance": 0.02554
}Semantic roles & 50–950 ramp
primary
#1A1786
secondary
#B7BA3F
accent
#ED3AE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F