#1A1978#1A1978
#1A1978 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.154 H 272.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1978 |
|---|---|
| RGB | rgb(26, 25, 120) |
| HSL | hsl(241, 66%, 28%) |
| HSV | hsv(241, 79%, 47%) |
| CMYK | cmyk(78.3%, 79.2%, 0%, 52.9%) |
| CIE-LAB | lab(16.85, 34.66, -53.10) |
| CIE-LCH | lch(16.85, 63.41, 303.13°) |
| OKLab | oklab(29.8% 0.0066 -0.1537) |
| OKLCH | oklch(29.8% 0.154 272.4) |
| XYZ | xyz(4.1627, 2.2705, 17.9845) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.34
Royal
#0C1793
ΔE00 4.07
Dark Royal Blue
#02066F
ΔE00 4.11
Deep Blue
#040273
ΔE00 4.59
Darkblue (survey)
#030764
ΔE00 4.76
Navy
#000080
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1978 #777819
analogous
#194778 #1A1978 #491978
triadic
#1A1978 #781A19 #19781A
tetradic
#1A1978 #781947 #777819 #197849
square
#1A1978 #781947 #777819 #197849
split-complementary
#1A1978 #784919 #477819
monochromatic
#050519 #0F0E45 #1A1978 #2524AB #3836D5
Accessibility & contrast
On white
14.44
#1A1978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1A1978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1978
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1978 | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1a1978; /* rgb */ color: rgb(26, 25, 120); /* oklch */ color: oklch(29.8% 0.154 272.4);
Tailwind
colors: {
custom: {
50: '#6857a0',
500: '#1a1978',
950: '#000000',
},
}SCSS
$custom: #1a1978; $custom-light: #6857a0; $custom-dark: #000000;
JSON
{
"hex": "#1a1978",
"rgb": {
"r": 26,
"g": 25,
"b": 120
},
"hsl": {
"h": 240.632,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.29803,
"c": 0.15383,
"h": 272.4
},
"luminance": 0.02271
}Semantic roles & 50–950 ramp
primary
#1A1978
secondary
#ACAD40
accent
#E83FE7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F