#1A1B97#1A1B97
#1A1B97 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.190 H 269.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1B97 |
|---|---|
| RGB | rgb(26, 27, 151) |
| HSL | hsl(240, 71%, 35%) |
| HSV | hsv(240, 83%, 59%) |
| CMYK | cmyk(82.8%, 82.1%, 0%, 40.8%) |
| CIE-LAB | lab(20.97, 44.08, -65.76) |
| CIE-LCH | lch(20.97, 79.17, 303.84°) |
| OKLab | oklab(33.78% -0.0006 -0.1904) |
| OKLCH | oklch(33.78% 0.19 269.8) |
| XYZ | xyz(6.4019, 3.2371, 29.5596) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.23
Cobalt Blue
#030AA7
ΔE00 3.17
Royal Blue (survey)
#0504AA
ΔE00 3.77
Ultramarine
#2000B1
ΔE00 4.56
Darkblue
#00008B
ΔE00 4.73
Indigo Blue
#3A18B1
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1B97 #97961A
analogous
#1A5A97 #1A1B97 #581A97
triadic
#1A1B97 #971A1B #1B971A
tetradic
#1A1B97 #971A5A #97961A #1A9758
square
#1A1B97 #971A5A #97961A #1A9758
split-complementary
#1A1B97 #97581A #5A971A
monochromatic
#08082F #111263 #1A1B97 #2324CB #4B4DE0
Accessibility & contrast
On white
12.75
#1A1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1A1B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1B97
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1B97 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002C95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a1b97; /* rgb */ color: rgb(26, 27, 151); /* oklch */ color: oklch(33.8% 0.190 269.8);
Tailwind
colors: {
custom: {
50: '#715bb7',
500: '#1a1b97',
950: '#000000',
},
}SCSS
$custom: #1a1b97; $custom-light: #715bb7; $custom-dark: #000000;
JSON
{
"hex": "#1a1b97",
"rgb": {
"r": 26,
"g": 27,
"b": 151
},
"hsl": {
"h": 239.52,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.3378,
"c": 0.19042,
"h": 269.8
},
"luminance": 0.03238
}Semantic roles & 50–950 ramp
primary
#1A1B97
secondary
#C2C14B
accent
#EC3AED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980