#1A1B7B#1A1B7B
#1A1B7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.156 H 271.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1B7B |
|---|---|
| RGB | rgb(26, 27, 123) |
| HSL | hsl(239, 65%, 29%) |
| HSV | hsv(239, 79%, 48%) |
| CMYK | cmyk(78.9%, 78%, 0%, 51.8%) |
| CIE-LAB | lab(17.61, 34.54, -53.76) |
| CIE-LCH | lch(17.61, 63.89, 302.72°) |
| OKLab | oklab(30.45% 0.0051 -0.1556) |
| OKLCH | oklch(30.45% 0.156 271.9) |
| XYZ | xyz(4.3919, 2.4331, 18.9732) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.77
Royal
#0C1793
ΔE00 3.73
Dark Royal Blue
#02066F
ΔE00 4.64
Deep Blue
#040273
ΔE00 5.07
Navy
#000080
ΔE00 5.15
Darkblue
#00008B
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1B7B #7B7A1A
analogous
#1A4C7B #1A1B7B #4A1A7B
triadic
#1A1B7B #7B1A1B #1B7B1A
tetradic
#1A1B7B #7B1A4C #7B7A1A #1A7B4A
square
#1A1B7B #7B1A4C #7B7A1A #1A7B4A
split-complementary
#1A1B7B #7B4A1A #4C7B1A
monochromatic
#050619 #0F1048 #1A1B7B #2526AE #3A3CD5
Accessibility & contrast
On white
14.12
#1A1B7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1A1B7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1B7B
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1B7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1B7B | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1a1b7b; /* rgb */ color: rgb(26, 27, 123); /* oklch */ color: oklch(30.4% 0.156 271.9);
Tailwind
colors: {
custom: {
50: '#6959a2',
500: '#1a1b7b',
950: '#000000',
},
}SCSS
$custom: #1a1b7b; $custom-light: #6959a2; $custom-dark: #000000;
JSON
{
"hex": "#1a1b7b",
"rgb": {
"r": 26,
"g": 27,
"b": 123
},
"hsl": {
"h": 239.381,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.30447,
"c": 0.15569,
"h": 271.9
},
"luminance": 0.02434
}Semantic roles & 50–950 ramp
primary
#1A1B7B
secondary
#AFAE42
accent
#E640E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F