#1A1B7E#1A1B7E
#1A1B7E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.160 H 271.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1B7E |
|---|---|
| RGB | rgb(26, 27, 126) |
| HSL | hsl(239, 66%, 30%) |
| HSV | hsv(239, 79%, 49%) |
| CMYK | cmyk(79.4%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(17.96, 35.60, -55.09) |
| CIE-LCH | lch(17.96, 65.59, 302.87°) |
| OKLab | oklab(30.8% 0.0045 -0.1595) |
| OKLCH | oklch(30.8% 0.16 271.6) |
| XYZ | xyz(4.5826, 2.5093, 19.9775) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.23
Royal
#0C1793
ΔE00 3.27
Dark Royal Blue
#02066F
ΔE00 4.77
Navy
#000080
ΔE00 5.02
Darkblue
#00008B
ΔE00 5.08
Deep Blue
#040273
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1B7E #7E7D1A
analogous
#1A4D7E #1A1B7E #4B1A7E
triadic
#1A1B7E #7E1A1B #1B7E1A
tetradic
#1A1B7E #7E1A4D #7E7D1A #1A7E4B
square
#1A1B7E #7E1A4D #7E7D1A #1A7E4B
split-complementary
#1A1B7E #7E4B1A #4D7E1A
monochromatic
#050519 #10104B #1A1B7E #2426B1 #3C3DD7
Accessibility & contrast
On white
13.98
#1A1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1A1B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1B7E
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1B7E | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a1b7e; /* rgb */ color: rgb(26, 27, 126); /* oklch */ color: oklch(30.8% 0.160 271.6);
Tailwind
colors: {
custom: {
50: '#6a59a5',
500: '#1a1b7e',
950: '#000000',
},
}SCSS
$custom: #1a1b7e; $custom-light: #6a59a5; $custom-dark: #000000;
JSON
{
"hex": "#1a1b7e",
"rgb": {
"r": 26,
"g": 27,
"b": 126
},
"hsl": {
"h": 239.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.30796,
"c": 0.15956,
"h": 271.6
},
"luminance": 0.0251
}Semantic roles & 50–950 ramp
primary
#1A1B7E
secondary
#B2B142
accent
#E73FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F