#3A2FA9#3A2FA9
#3A2FA9 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.185 H 278.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FA9 |
|---|---|
| RGB | rgb(58, 47, 169) |
| HSL | hsl(245, 56%, 42%) |
| HSV | hsv(245, 72%, 66%) |
| CMYK | cmyk(65.7%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(28.89, 41.91, -63.56) |
| CIE-LCH | lch(28.89, 76.14, 303.40°) |
| OKLab | oklab(40.5% 0.0264 -0.1835) |
| OKLCH | oklch(40.5% 0.185 278.2) |
| XYZ | xyz(9.9206, 5.7963, 38.1244) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 6.09
Blueberry
#464196
ΔE00 6.20
Blurple
#5539CC
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FA9 #9EA92F
analogous
#2F61A9 #3A2FA9 #772FA9
triadic
#3A2FA9 #A93A2F #2FA93A
tetradic
#3A2FA9 #A92F61 #9EA92F #2FA977
square
#3A2FA9 #A92F61 #9EA92F #2FA977
split-complementary
#3A2FA9 #A9772F #61A92F
monochromatic
#191449 #2A2279 #3A2FA9 #5549CC #8179DA
Accessibility & contrast
On white
9.72
#3A2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3A2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FA9
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FA9 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3a2fa9; /* rgb */ color: rgb(58, 47, 169); /* oklch */ color: oklch(40.5% 0.185 278.2);
Tailwind
colors: {
custom: {
50: '#7f69c4',
500: '#3a2fa9',
950: '#000000',
},
}SCSS
$custom: #3a2fa9; $custom-light: #7f69c4; $custom-dark: #000000;
JSON
{
"hex": "#3a2fa9",
"rgb": {
"r": 58,
"g": 47,
"b": 169
},
"hsl": {
"h": 245.41,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.40501,
"c": 0.18539,
"h": 278.2
},
"luminance": 0.05797
}Semantic roles & 50–950 ramp
primary
#3A2FA9
secondary
#BBC272
accent
#E048D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82