#3A52BE#3A52BE
#3A52BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.171 H 269.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3A52BE |
|---|---|
| RGB | rgb(58, 82, 190) |
| HSL | hsl(229, 53%, 49%) |
| HSV | hsv(229, 69%, 75%) |
| CMYK | cmyk(69.5%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(38.99, 27.39, -59.52) |
| CIE-LCH | lch(38.99, 65.52, 294.71°) |
| OKLab | oklab(48.44% -0.0017 -0.1714) |
| OKLCH | oklch(48.44% 0.171 269.4) |
| XYZ | xyz(14.0533, 10.6505, 50.0203) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.97
Blue Blue
#2242C7
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.78
Blue (survey)
#0343DF
ΔE00 5.90
Iris
#6258C4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A52BE #BEA63A
analogous
#3A94BE #3A52BE #643ABE
triadic
#3A52BE #BE3A52 #52BE3A
tetradic
#3A52BE #BE3A94 #BEA63A #3ABE64
square
#3A52BE #BE3A94 #BEA63A #3ABE64
split-complementary
#3A52BE #BE643A #94BE3A
monochromatic
#1D2A60 #2C3E8F #3A52BE #6579D0 #94A2DE
Accessibility & contrast
On white
6.71
#3A52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3A52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A52BE
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A52BE | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3a52be; /* rgb */ color: rgb(58, 82, 190); /* oklch */ color: oklch(48.4% 0.171 269.4);
Tailwind
colors: {
custom: {
50: '#8082d2',
500: '#3a52be',
950: '#000000',
},
}SCSS
$custom: #3a52be; $custom-light: #8082d2; $custom-dark: #000000;
JSON
{
"hex": "#3a52be",
"rgb": {
"r": 58,
"g": 82,
"b": 190
},
"hsl": {
"h": 229.091,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.48444,
"c": 0.17145,
"h": 269.4
},
"luminance": 0.10652
}Semantic roles & 50–950 ramp
primary
#3A52BE
secondary
#CABE8A
accent
#C24BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83