#523FB4#523FB4
#523FB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.9% C 0.177 H 284.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #523FB4 |
|---|---|
| RGB | rgb(82, 63, 180) |
| HSL | hsl(250, 48%, 48%) |
| HSV | hsv(250, 65%, 71%) |
| CMYK | cmyk(54.4%, 65%, 0%, 29.4%) |
| CIE-LAB | lab(35.29, 39.76, -59.58) |
| CIE-LCH | lch(35.29, 71.63, 303.72°) |
| OKLab | oklab(45.9% 0.0441 -0.1711) |
| OKLCH | oklch(45.9% 0.177 284.4) |
| XYZ | xyz(13.4929, 8.6434, 44.1285) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 1.05
Blue With A Hint Of Purple
#533CC6
ΔE00 2.62
Blurple
#5539CC
ΔE00 3.59
Bluey Purple
#6241C7
ΔE00 3.70
Blueberry
#464196
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#523FB4 #A1B43F
analogous
#3F66B4 #523FB4 #8D3FB4
triadic
#523FB4 #B4523F #3FB452
tetradic
#523FB4 #B43F66 #A1B43F #3FB48D
square
#523FB4 #B43F66 #A1B43F #3FB48D
split-complementary
#523FB4 #B48D3F #66B43F
monochromatic
#291F59 #3D2F87 #523FB4 #7767CA #9F94DA
Accessibility & contrast
On white
7.70
#523FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#523FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #523FB4
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##523FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##523FB4 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#275C74
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #523fb4; /* rgb */ color: rgb(82, 63, 180); /* oklch */ color: oklch(45.9% 0.177 284.4);
Tailwind
colors: {
custom: {
50: '#8c75cb',
500: '#523fb4',
950: '#000000',
},
}SCSS
$custom: #523fb4; $custom-light: #8c75cb; $custom-dark: #000000;
JSON
{
"hex": "#523fb4",
"rgb": {
"r": 82,
"g": 63,
"b": 180
},
"hsl": {
"h": 249.744,
"s": 48.148,
"l": 47.647
},
"oklch": {
"l": 0.45901,
"c": 0.17668,
"h": 284.4
},
"luminance": 0.08644
}Semantic roles & 50–950 ramp
primary
#523FB4
secondary
#BBC58A
accent
#D850C2
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82