#3A2CA8#3A2CA8
#3A2CA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.187 H 278.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA8 |
|---|---|
| RGB | rgb(58, 44, 168) |
| HSL | hsl(247, 58%, 42%) |
| HSV | hsv(247, 74%, 66%) |
| CMYK | cmyk(65.5%, 73.8%, 0%, 34.1%) |
| CIE-LAB | lab(28.19, 43.29, -64.12) |
| CIE-LCH | lch(28.19, 77.37, 304.02°) |
| OKLab | oklab(39.97% 0.0286 -0.1851) |
| OKLCH | oklch(39.97% 0.187 278.8) |
| XYZ | xyz(9.7112, 5.5273, 37.5933) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 6.26
True Blue
#010FCC
ΔE00 6.27
Violet Blue
#510AC9
ΔE00 6.49
Royal
#0C1793
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA8 #9AA82C
analogous
#2C5CA8 #3A2CA8 #782CA8
triadic
#3A2CA8 #A83A2C #2CA83A
tetradic
#3A2CA8 #A82C5C #9AA82C #2CA878
square
#3A2CA8 #A82C5C #9AA82C #2CA878
split-complementary
#3A2CA8 #A8782C #5CA82C
monochromatic
#191347 #291F78 #3A2CA8 #5343CE #7F74DB
Accessibility & contrast
On white
9.97
#3A2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#3A2CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA8
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA8 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ca8; /* rgb */ color: rgb(58, 44, 168); /* oklch */ color: oklch(40.0% 0.187 278.8);
Tailwind
colors: {
custom: {
50: '#7f67c3',
500: '#3a2ca8',
950: '#000000',
},
}SCSS
$custom: #3a2ca8; $custom-light: #7f67c3; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca8",
"rgb": {
"r": 58,
"g": 44,
"b": 168
},
"hsl": {
"h": 246.774,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.39969,
"c": 0.18731,
"h": 278.8
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#3A2CA8
secondary
#B9C26E
accent
#E246D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82