#2A2085#2A2085
#2A2085 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.159 H 277.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2085 |
|---|---|
| RGB | rgb(42, 32, 133) |
| HSL | hsl(246, 61%, 32%) |
| HSV | hsv(246, 76%, 52%) |
| CMYK | cmyk(68.4%, 75.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.90, 36.71, -54.64) |
| CIE-LCH | lch(20.90, 65.83, 303.90°) |
| OKLab | oklab(33.4% 0.0216 -0.1578) |
| OKLCH | oklch(33.4% 0.159 277.8) |
| XYZ | xyz(5.7036, 3.2182, 22.5064) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.47
Midnight Blue
#191970
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 5.48
Darkblue
#00008B
ΔE00 6.02
Cobalt Blue
#030AA7
ΔE00 6.06
Navy
#000080
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2085 #7B8520
analogous
#204885 #2A2085 #5D2085
triadic
#2A2085 #852A20 #20852A
tetradic
#2A2085 #852048 #7B8520 #20855D
square
#2A2085 #852048 #7B8520 #20855D
split-complementary
#2A2085 #855D20 #488520
monochromatic
#0B0822 #1A1454 #2A2085 #3A2CB6 #594CD4
Accessibility & contrast
On white
12.78
#2A2085 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2A2085 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2085
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2085 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2085 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2a2085; /* rgb */ color: rgb(42, 32, 133); /* oklch */ color: oklch(33.4% 0.159 277.8);
Tailwind
colors: {
custom: {
50: '#715daa',
500: '#2a2085',
950: '#000000',
},
}SCSS
$custom: #2a2085; $custom-light: #715daa; $custom-dark: #000000;
JSON
{
"hex": "#2a2085",
"rgb": {
"r": 42,
"g": 32,
"b": 133
},
"hsl": {
"h": 245.941,
"s": 61.212,
"l": 32.353
},
"oklch": {
"l": 0.33399,
"c": 0.15928,
"h": 277.8
},
"luminance": 0.03219
}Semantic roles & 50–950 ramp
primary
#2A2085
secondary
#ACB74A
accent
#E443D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F