#3A52C0#3A52C0
#3A52C0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.174 H 269.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52C0 |
|---|---|
| RGB | rgb(58, 82, 192) |
| HSL | hsl(229, 54%, 49%) |
| HSV | hsv(229, 70%, 75%) |
| CMYK | cmyk(69.8%, 57.3%, 0%, 24.7%) |
| CIE-LAB | lab(39.14, 28.11, -60.44) |
| CIE-LCH | lch(39.14, 66.66, 294.94°) |
| OKLab | oklab(48.61% -0.0016 -0.1741) |
| OKLCH | oklch(48.61% 0.174 269.5) |
| XYZ | xyz(14.2734, 10.7385, 51.1795) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.72
Blue Blue
#2242C7
ΔE00 4.94
Blue (survey)
#0343DF
ΔE00 5.72
Cobalt
#0047AB
ΔE00 5.95
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52C0 #C0A83A
analogous
#3A95C0 #3A52C0 #653AC0
triadic
#3A52C0 #C03A52 #52C03A
tetradic
#3A52C0 #C03A95 #C0A83A #3AC065
square
#3A52C0 #C03A95 #C0A83A #3AC065
split-complementary
#3A52C0 #C0653A #95C03A
monochromatic
#1E2A62 #2C3E91 #3A52C0 #6679D1 #95A3DF
Accessibility & contrast
On white
6.67
#3A52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#3A52C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52C0
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52C0 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3a52c0; /* rgb */ color: rgb(58, 82, 192); /* oklch */ color: oklch(48.6% 0.174 269.5);
Tailwind
colors: {
custom: {
50: '#8182d4',
500: '#3a52c0',
950: '#000000',
},
}SCSS
$custom: #3a52c0; $custom-light: #8182d4; $custom-dark: #000000;
JSON
{
"hex": "#3a52c0",
"rgb": {
"r": 58,
"g": 82,
"b": 192
},
"hsl": {
"h": 229.254,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.48605,
"c": 0.17416,
"h": 269.5
},
"luminance": 0.1074
}Semantic roles & 50–950 ramp
primary
#3A52C0
secondary
#CABF8B
accent
#C34BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83