#3A2CA7#3A2CA7
#3A2CA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.186 H 278.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA7 |
|---|---|
| RGB | rgb(58, 44, 167) |
| HSL | hsl(247, 58%, 41%) |
| HSV | hsv(247, 74%, 65%) |
| CMYK | cmyk(65.3%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(28.09, 42.97, -63.68) |
| CIE-LCH | lch(28.09, 76.82, 304.01°) |
| OKLab | oklab(39.87% 0.0288 -0.1838) |
| OKLCH | oklch(39.87% 0.186 278.9) |
| XYZ | xyz(9.6184, 5.4901, 37.1046) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 6.31
True Blue
#010FCC
ΔE00 6.36
Royal
#0C1793
ΔE00 6.43
Violet Blue
#510AC9
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA7 #99A72C
analogous
#2C5CA7 #3A2CA7 #782CA7
triadic
#3A2CA7 #A73A2C #2CA73A
tetradic
#3A2CA7 #A72C5C #99A72C #2CA778
square
#3A2CA7 #A72C5C #99A72C #2CA778
split-complementary
#3A2CA7 #A7782C #5CA72C
monochromatic
#181246 #291F77 #3A2CA7 #5343CD #7F73DA
Accessibility & contrast
On white
10.01
#3A2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3A2CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA7
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA7 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ca7; /* rgb */ color: rgb(58, 44, 167); /* oklch */ color: oklch(39.9% 0.186 278.9);
Tailwind
colors: {
custom: {
50: '#7f67c2',
500: '#3a2ca7',
950: '#000000',
},
}SCSS
$custom: #3a2ca7; $custom-light: #7f67c2; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca7",
"rgb": {
"r": 58,
"g": 44,
"b": 167
},
"hsl": {
"h": 246.829,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.39869,
"c": 0.18607,
"h": 278.9
},
"luminance": 0.05491
}Semantic roles & 50–950 ramp
primary
#3A2CA7
secondary
#B8C26D
accent
#E246D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82