#3A2FAC#3A2FAC
#3A2FAC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.189 H 277.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FAC |
|---|---|
| RGB | rgb(58, 47, 172) |
| HSL | hsl(245, 57%, 43%) |
| HSV | hsv(245, 73%, 67%) |
| CMYK | cmyk(66.3%, 72.7%, 0%, 32.5%) |
| CIE-LAB | lab(29.18, 42.88, -64.89) |
| CIE-LCH | lch(29.18, 77.78, 303.46°) |
| OKLab | oklab(40.8% 0.0258 -0.1874) |
| OKLCH | oklch(40.8% 0.189 277.8) |
| XYZ | xyz(10.2054, 5.9103, 39.6247) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 5.51
Blue With A Hint Of Purple
#533CC6
ΔE00 5.80
Blurple
#5539CC
ΔE00 6.22
Blueberry
#464196
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FAC #A1AC2F
analogous
#2F62AC #3A2FAC #782FAC
triadic
#3A2FAC #AC3A2F #2FAC3A
tetradic
#3A2FAC #AC2F62 #A1AC2F #2FAC78
square
#3A2FAC #AC2F62 #A1AC2F #2FAC78
split-complementary
#3A2FAC #AC782F #62AC2F
monochromatic
#1A154C #2A227C #3A2FAC #564BCE #837BDB
Accessibility & contrast
On white
9.62
#3A2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#3A2FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FAC
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FAC | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3a2fac; /* rgb */ color: rgb(58, 47, 172); /* oklch */ color: oklch(40.8% 0.189 277.8);
Tailwind
colors: {
custom: {
50: '#7f69c6',
500: '#3a2fac',
950: '#000000',
},
}SCSS
$custom: #3a2fac; $custom-light: #7f69c6; $custom-dark: #000000;
JSON
{
"hex": "#3a2fac",
"rgb": {
"r": 58,
"g": 47,
"b": 172
},
"hsl": {
"h": 245.28,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.40797,
"c": 0.18913,
"h": 277.8
},
"luminance": 0.05911
}Semantic roles & 50–950 ramp
primary
#3A2FAC
secondary
#BCC374
accent
#E047D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82