#3B2CA6#3B2CA6
#3B2CA6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.185 H 279.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #3B2CA6 |
|---|---|
| RGB | rgb(59, 44, 166) |
| HSL | hsl(247, 58%, 41%) |
| HSV | hsv(247, 73%, 65%) |
| CMYK | cmyk(64.5%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(28.07, 42.77, -63.11) |
| CIE-LCH | lch(28.07, 76.24, 304.13°) |
| OKLab | oklab(39.85% 0.0304 -0.1821) |
| OKLCH | oklch(39.85% 0.185 279.5) |
| XYZ | xyz(9.5851, 5.4836, 36.6223) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 6.32
Royal
#0C1793
ΔE00 6.44
True Blue
#010FCC
ΔE00 6.49
Violet Blue
#510AC9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B2CA6 #97A62C
analogous
#2C5AA6 #3B2CA6 #782CA6
triadic
#3B2CA6 #A63B2C #2CA63B
tetradic
#3B2CA6 #A62C5A #97A62C #2CA678
square
#3B2CA6 #A62C5A #97A62C #2CA678
split-complementary
#3B2CA6 #A6782C #5AA62C
monochromatic
#191245 #2A1F76 #3B2CA6 #5342CD #7F73DA
Accessibility & contrast
On white
10.02
#3B2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3B2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B2CA6
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B2CA6 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3b2ca6; /* rgb */ color: rgb(59, 44, 166); /* oklch */ color: oklch(39.8% 0.185 279.5);
Tailwind
colors: {
custom: {
50: '#7f67c2',
500: '#3b2ca6',
950: '#000000',
},
}SCSS
$custom: #3b2ca6; $custom-light: #7f67c2; $custom-dark: #000000;
JSON
{
"hex": "#3b2ca6",
"rgb": {
"r": 59,
"g": 44,
"b": 166
},
"hsl": {
"h": 247.377,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39847,
"c": 0.18464,
"h": 279.5
},
"luminance": 0.05484
}Semantic roles & 50–950 ramp
primary
#3B2CA6
secondary
#B7C16D
accent
#E146CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81