#2A1D85#2A1D85
#2A1D85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.162 H 278.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A1D85 |
|---|---|
| RGB | rgb(42, 29, 133) |
| HSL | hsl(248, 64%, 32%) |
| HSV | hsv(248, 78%, 52%) |
| CMYK | cmyk(68.4%, 78.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.30, 38.41, -55.63) |
| CIE-LCH | lch(20.30, 67.60, 304.63°) |
| OKLab | oklab(32.98% 0.0234 -0.1607) |
| OKLCH | oklch(32.98% 0.162 278.3) |
| XYZ | xyz(5.6265, 3.0639, 22.4806) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.15
Midnight Blue
#191970
ΔE00 3.82
Indigo (survey)
#380282
ΔE00 4.79
Darkblue
#00008B
ΔE00 5.39
Cobalt Blue
#030AA7
ΔE00 5.66
Navy
#000080
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A1D85 #78851D
analogous
#1D4485 #2A1D85 #5E1D85
triadic
#2A1D85 #852A1D #1D852A
tetradic
#2A1D85 #851D44 #78851D #1D855E
square
#2A1D85 #851D44 #78851D #1D855E
split-complementary
#2A1D85 #855E1D #44851D
monochromatic
#0A0721 #1A1253 #2A1D85 #3A28B7 #5846D7
Accessibility & contrast
On white
13.02
#2A1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2A1D85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A1D85
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A1D85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A1D85 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2a1d85; /* rgb */ color: rgb(42, 29, 133); /* oklch */ color: oklch(33.0% 0.162 278.3);
Tailwind
colors: {
custom: {
50: '#715baa',
500: '#2a1d85',
950: '#000000',
},
}SCSS
$custom: #2a1d85; $custom-light: #715baa; $custom-dark: #000000;
JSON
{
"hex": "#2a1d85",
"rgb": {
"r": 42,
"g": 29,
"b": 133
},
"hsl": {
"h": 247.5,
"s": 64.198,
"l": 31.765
},
"oklch": {
"l": 0.32976,
"c": 0.16236,
"h": 278.3
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#2A1D85
secondary
#AAB846
accent
#E741D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F