#2A1885#2A1885
#2A1885 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.167 H 279.0°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1885 |
|---|---|
| RGB | rgb(42, 24, 133) |
| HSL | hsl(250, 69%, 31%) |
| HSV | hsv(250, 82%, 52%) |
| CMYK | cmyk(68.4%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(19.39, 41.03, -57.13) |
| CIE-LCH | lch(19.39, 70.34, 305.69°) |
| OKLab | oklab(32.34% 0.0262 -0.165) |
| OKLCH | oklch(32.34% 0.167 279) |
| XYZ | xyz(5.5138, 2.8385, 22.4431) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.95
Indigo (survey)
#380282
ΔE00 3.80
Midnight Blue
#191970
ΔE00 3.99
Darkblue
#00008B
ΔE00 4.48
Navy
#000080
ΔE00 4.80
Cobalt Blue
#030AA7
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1885 #738518
analogous
#183C85 #2A1885 #601885
triadic
#2A1885 #852A18 #18852A
tetradic
#2A1885 #85183C #738518 #188560
square
#2A1885 #85183C #738518 #188560
split-complementary
#2A1885 #856018 #3C8518
monochromatic
#09051D #1A0F51 #2A1885 #3A21B9 #563CDC
Accessibility & contrast
On white
13.39
#2A1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2A1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1885
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1885 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2a1885; /* rgb */ color: rgb(42, 24, 133); /* oklch */ color: oklch(32.3% 0.167 279.0);
Tailwind
colors: {
custom: {
50: '#7259aa',
500: '#2a1885',
950: '#000000',
},
}SCSS
$custom: #2a1885; $custom-light: #7259aa; $custom-dark: #000000;
JSON
{
"hex": "#2a1885",
"rgb": {
"r": 42,
"g": 24,
"b": 133
},
"hsl": {
"h": 249.908,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.32338,
"c": 0.16706,
"h": 279
},
"luminance": 0.02839
}Semantic roles & 50–950 ramp
primary
#2A1885
secondary
#A5B940
accent
#EC3CCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F