#1B1A9F#1B1A9F
#1B1A9F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.7% C 0.200 H 269.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1A9F |
|---|---|
| RGB | rgb(27, 26, 159) |
| HSL | hsl(240, 72%, 36%) |
| HSV | hsv(240, 84%, 62%) |
| CMYK | cmyk(83%, 83.6%, 0%, 37.6%) |
| CIE-LAB | lab(21.85, 47.20, -69.21) |
| CIE-LCH | lch(21.85, 83.77, 304.30°) |
| OKLab | oklab(34.69% -0.001 -0.2003) |
| OKLCH | oklch(34.69% 0.2 269.7) |
| XYZ | xyz(7.0773, 3.4742, 33.0917) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.04
Cobalt Blue
#030AA7
ΔE00 2.47
Royal Blue (survey)
#0504AA
ΔE00 3.03
Ultramarine
#2000B1
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 3.91
Darkblue
#00008B
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1A9F #9E9F1A
analogous
#1A5C9F #1B1A9F #5E1A9F
triadic
#1B1A9F #9F1B1A #1A9F1B
tetradic
#1B1A9F #9F1A5C #9E9F1A #1A9F5E
square
#1B1A9F #9F1A5C #9E9F1A #1A9F5E
split-complementary
#1B1A9F #9F5E1A #5C9F1A
monochromatic
#090936 #12116A #1B1A9F #2423D4 #5251E3
Accessibility & contrast
On white
12.39
#1B1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1B1A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1A9F
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1A9F | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b1a9f; /* rgb */ color: rgb(27, 26, 159); /* oklch */ color: oklch(34.7% 0.200 269.7);
Tailwind
colors: {
custom: {
50: '#735bbd',
500: '#1b1a9f',
950: '#000000',
},
}SCSS
$custom: #1b1a9f; $custom-light: #735bbd; $custom-dark: #000000;
JSON
{
"hex": "#1b1a9f",
"rgb": {
"r": 27,
"g": 26,
"b": 159
},
"hsl": {
"h": 240.451,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.34692,
"c": 0.20035,
"h": 269.7
},
"luminance": 0.03475
}Semantic roles & 50–950 ramp
primary
#1B1A9F
secondary
#C4C550
accent
#EF39ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981