#2A2086#2A2086
#2A2086 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.161 H 277.6°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2086 |
|---|---|
| RGB | rgb(42, 32, 134) |
| HSL | hsl(246, 61%, 33%) |
| HSV | hsv(246, 76%, 53%) |
| CMYK | cmyk(68.7%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.00, 37.05, -55.09) |
| CIE-LCH | lch(21.00, 66.39, 303.92°) |
| OKLab | oklab(33.51% 0.0214 -0.1591) |
| OKLCH | oklch(33.51% 0.161 277.6) |
| XYZ | xyz(5.7730, 3.2460, 22.8719) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.37
Midnight Blue
#191970
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.93
Darkblue
#00008B
ΔE00 5.98
Navy
#000080
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2086 #7C8620
analogous
#204986 #2A2086 #5D2086
triadic
#2A2086 #862A20 #20862A
tetradic
#2A2086 #862049 #7C8620 #20865D
square
#2A2086 #862049 #7C8620 #20865D
split-complementary
#2A2086 #865D20 #498620
monochromatic
#0B0823 #1B1455 #2A2086 #392CB7 #594CD4
Accessibility & contrast
On white
12.73
#2A2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2A2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2086
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2086 | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2a2086; /* rgb */ color: rgb(42, 32, 134); /* oklch */ color: oklch(33.5% 0.161 277.6);
Tailwind
colors: {
custom: {
50: '#715daa',
500: '#2a2086',
950: '#000000',
},
}SCSS
$custom: #2a2086; $custom-light: #715daa; $custom-dark: #000000;
JSON
{
"hex": "#2a2086",
"rgb": {
"r": 42,
"g": 32,
"b": 134
},
"hsl": {
"h": 245.882,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.33506,
"c": 0.16056,
"h": 277.6
},
"luminance": 0.03246
}Semantic roles & 50–950 ramp
primary
#2A2086
secondary
#ADB74B
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F