#1A1981#1A1981
#1A1981 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.165 H 271.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1A1981 |
|---|---|
| RGB | rgb(26, 25, 129) |
| HSL | hsl(241, 68%, 30%) |
| HSV | hsv(241, 81%, 51%) |
| CMYK | cmyk(79.8%, 80.6%, 0%, 49.4%) |
| CIE-LAB | lab(17.92, 37.79, -57.07) |
| CIE-LCH | lch(17.92, 68.45, 303.51°) |
| OKLab | oklab(30.87% 0.0046 -0.1652) |
| OKLCH | oklch(30.87% 0.165 271.6) |
| XYZ | xyz(4.7347, 2.4993, 20.9975) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.69
Midnight Blue
#191970
ΔE00 2.75
Darkblue
#00008B
ΔE00 4.41
Navy
#000080
ΔE00 4.47
Dark Royal Blue
#02066F
ΔE00 4.57
Deep Blue
#040273
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A1981 #808119
analogous
#194C81 #1A1981 #4E1981
triadic
#1A1981 #811A19 #19811A
tetradic
#1A1981 #81194C #808119 #19814E
square
#1A1981 #81194C #808119 #19814E
split-complementary
#1A1981 #814E19 #4C8119
monochromatic
#05051A #100F4E #1A1981 #2423B4 #3D3BD9
Accessibility & contrast
On white
14.00
#1A1981 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1A1981 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A1981
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A1981 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A1981 | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a1981; /* rgb */ color: rgb(26, 25, 129); /* oklch */ color: oklch(30.9% 0.165 271.6);
Tailwind
colors: {
custom: {
50: '#6b58a7',
500: '#1a1981',
950: '#000000',
},
}SCSS
$custom: #1a1981; $custom-light: #6b58a7; $custom-dark: #000000;
JSON
{
"hex": "#1a1981",
"rgb": {
"r": 26,
"g": 25,
"b": 129
},
"hsl": {
"h": 240.577,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.30868,
"c": 0.16529,
"h": 271.6
},
"luminance": 0.025
}Semantic roles & 50–950 ramp
primary
#1A1981
secondary
#B4B541
accent
#EA3DE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F