#5A52BE#5A52BE
#5A52BE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.164 H 282.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A52BE |
|---|---|
| RGB | rgb(90, 82, 190) |
| HSL | hsl(244, 45%, 53%) |
| HSV | hsv(244, 57%, 75%) |
| CMYK | cmyk(52.6%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(41.10, 32.96, -56.00) |
| CIE-LCH | lch(41.10, 64.98, 300.48°) |
| OKLab | oklab(50.56% 0.0345 -0.1602) |
| OKLCH | oklch(50.56% 0.164 282.1) |
| XYZ | xyz(16.5252, 11.9250, 50.1362) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.28
Slate Blue
#6A5ACD
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.59
Warm Blue
#4B57DB
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 4.88
Dark Periwinkle
#665FD1
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A52BE #B6BE52
analogous
#5280BE #5A52BE #9052BE
triadic
#5A52BE #BE5A52 #52BE5A
tetradic
#5A52BE #BE5280 #B6BE52 #52BE90
square
#5A52BE #BE5280 #B6BE52 #52BE90
split-complementary
#5A52BE #BE9052 #80BE52
monochromatic
#2E296D #413A99 #5A52BE #847ECF #AFABDF
Accessibility & contrast
On white
6.20
#5A52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5A52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A52BE
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A52BE | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#306B80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5a52be; /* rgb */ color: rgb(90, 82, 190); /* oklch */ color: oklch(50.6% 0.164 282.1);
Tailwind
colors: {
custom: {
50: '#9083d2',
500: '#5a52be',
950: '#000000',
},
}SCSS
$custom: #5a52be; $custom-light: #9083d2; $custom-dark: #000000;
JSON
{
"hex": "#5a52be",
"rgb": {
"r": 90,
"g": 82,
"b": 190
},
"hsl": {
"h": 244.444,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.50564,
"c": 0.16392,
"h": 282.1
},
"luminance": 0.11926
}Semantic roles & 50–950 ramp
primary
#5A52BE
secondary
#CACD9F
accent
#D553CB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83