#1A1878#1A1878
#1A1878 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.155 H 272.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1878 |
|---|---|
| RGB | rgb(26, 24, 120) |
| HSL | hsl(241, 67%, 28%) |
| HSV | hsv(241, 80%, 47%) |
| CMYK | cmyk(78.3%, 80%, 0%, 52.9%) |
| CIE-LAB | lab(16.64, 35.24, -53.44) |
| CIE-LCH | lch(16.64, 64.01, 303.41°) |
| OKLab | oklab(29.66% 0.007 -0.1547) |
| OKLCH | oklch(29.66% 0.155 272.6) |
| XYZ | xyz(4.1417, 2.2285, 17.9775) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.42
Dark Royal Blue
#02066F
ΔE00 3.90
Royal
#0C1793
ΔE00 4.02
Deep Blue
#040273
ΔE00 4.35
Darkblue (survey)
#030764
ΔE00 4.60
Navy
#000080
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1878 #767818
analogous
#184678 #1A1878 #4A1878
triadic
#1A1878 #781A18 #18781A
tetradic
#1A1878 #781846 #767818 #18784A
square
#1A1878 #781846 #767818 #18784A
split-complementary
#1A1878 #784A18 #467818
monochromatic
#06051A #0F0E45 #1A1878 #2522AB #3734D6
Accessibility & contrast
On white
14.52
#1A1878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1A1878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1878
14.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1878 | 1.00 | 14.52 | 1.45 | 14.52 |
| #FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002476
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1a1878; /* rgb */ color: rgb(26, 24, 120); /* oklch */ color: oklch(29.7% 0.155 272.6);
Tailwind
colors: {
custom: {
50: '#6857a0',
500: '#1a1878',
950: '#000000',
},
}SCSS
$custom: #1a1878; $custom-light: #6857a0; $custom-dark: #000000;
JSON
{
"hex": "#1a1878",
"rgb": {
"r": 26,
"g": 24,
"b": 120
},
"hsl": {
"h": 241.25,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.2966,
"c": 0.15482,
"h": 272.6
},
"luminance": 0.02229
}Semantic roles & 50–950 ramp
primary
#1A1878
secondary
#ABAD3F
accent
#EA3EE6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F