#3A52BC#3A52BC
#3A52BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.169 H 269.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52BC |
|---|---|
| RGB | rgb(58, 82, 188) |
| HSL | hsl(229, 53%, 48%) |
| HSV | hsv(229, 69%, 74%) |
| CMYK | cmyk(69.1%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(38.84, 26.66, -58.59) |
| CIE-LCH | lch(38.84, 64.37, 294.47°) |
| OKLab | oklab(48.29% -0.0017 -0.1687) |
| OKLCH | oklch(48.29% 0.169 269.4) |
| XYZ | xyz(13.8362, 10.5636, 48.8770) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 6.08
Iris
#6258C4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52BC #BCA43A
analogous
#3A93BC #3A52BC #633ABC
triadic
#3A52BC #BC3A52 #52BC3A
tetradic
#3A52BC #BC3A93 #BCA43A #3ABC63
square
#3A52BC #BC3A93 #BCA43A #3ABC63
split-complementary
#3A52BC #BC633A #93BC3A
monochromatic
#1D295E #2C3E8D #3A52BC #6478CF #93A1DE
Accessibility & contrast
On white
6.75
#3A52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#3A52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52BC
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52BC | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3a52bc; /* rgb */ color: rgb(58, 82, 188); /* oklch */ color: oklch(48.3% 0.169 269.4);
Tailwind
colors: {
custom: {
50: '#8082d1',
500: '#3a52bc',
950: '#000000',
},
}SCSS
$custom: #3a52bc; $custom-light: #8082d1; $custom-dark: #000000;
JSON
{
"hex": "#3a52bc",
"rgb": {
"r": 58,
"g": 82,
"b": 188
},
"hsl": {
"h": 228.923,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.48285,
"c": 0.16872,
"h": 269.4
},
"luminance": 0.10565
}Semantic roles & 50–950 ramp
primary
#3A52BC
secondary
#C9BD89
accent
#C24CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82