#1A1B76#1A1B76
#1A1B76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.149 H 272.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1B76 |
|---|---|
| RGB | rgb(26, 27, 118) |
| HSL | hsl(239, 64%, 28%) |
| HSV | hsv(239, 78%, 46%) |
| CMYK | cmyk(78%, 77.1%, 0%, 53.7%) |
| CIE-LAB | lab(17.04, 32.74, -51.49) |
| CIE-LCH | lch(17.04, 61.02, 302.45°) |
| OKLab | oklab(29.87% 0.0061 -0.149) |
| OKLCH | oklch(29.87% 0.149 272.3) |
| XYZ | xyz(4.0868, 2.3111, 17.3667) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.01
Royal
#0C1793
ΔE00 4.53
Dark Royal Blue
#02066F
ΔE00 4.56
Darkblue (survey)
#030764
ΔE00 5.01
Deep Blue
#040273
ΔE00 5.12
Navy
#000080
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1B76 #76751A
analogous
#1A4976 #1A1B76 #471A76
triadic
#1A1B76 #761A1B #1B761A
tetradic
#1A1B76 #761A49 #76751A #1A7647
square
#1A1B76 #761A49 #76751A #1A7647
split-complementary
#1A1B76 #76471A #49761A
monochromatic
#060619 #0F1044 #1A1B76 #2526A8 #3739D3
Accessibility & contrast
On white
14.36
#1A1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1A1B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1B76
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1B76 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1a1b76; /* rgb */ color: rgb(26, 27, 118); /* oklch */ color: oklch(29.9% 0.149 272.3);
Tailwind
colors: {
custom: {
50: '#68589f',
500: '#1a1b76',
950: '#000000',
},
}SCSS
$custom: #1a1b76; $custom-light: #68589f; $custom-dark: #000000;
JSON
{
"hex": "#1a1b76",
"rgb": {
"r": 26,
"g": 27,
"b": 118
},
"hsl": {
"h": 239.348,
"s": 63.889,
"l": 28.235
},
"oklch": {
"l": 0.29873,
"c": 0.14916,
"h": 272.3
},
"luminance": 0.02311
}Semantic roles & 50–950 ramp
primary
#1A1B76
secondary
#ABA941
accent
#E541E7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E