#525ED7#525ED7
#525ED7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.184 H 274.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #525ED7 |
|---|---|
| RGB | rgb(82, 94, 215) |
| HSL | hsl(235, 62%, 58%) |
| HSV | hsv(235, 62%, 84%) |
| CMYK | cmyk(61.9%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.23, 32.22, -63.76) |
| CIE-LCH | lch(45.23, 71.44, 296.81°) |
| OKLab | oklab(54.05% 0.0135 -0.1832) |
| OKLCH | oklch(54.05% 0.184 274.2) |
| XYZ | xyz(19.7441, 14.7039, 66.0745) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.25
Dark Periwinkle
#665FD1
ΔE00 3.34
Iris
#6258C4
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.67
Azul
#1D5DEC
ΔE00 4.67
Royal Blue
#4169E1
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525ED7 #D7CB52
analogous
#52A1D7 #525ED7 #8852D7
triadic
#525ED7 #D7525E #5ED752
tetradic
#525ED7 #D752A1 #D7CB52 #52D788
square
#525ED7 #D752A1 #D7CB52 #52D788
split-complementary
#525ED7 #D78852 #A1D752
monochromatic
#212B8E #2C3AC0 #525ED7 #848CE2 #B5BBEE
Accessibility & contrast
On white
5.33
#525ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#525ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525ED7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525ED7 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #525ed7; /* rgb */ color: rgb(82, 94, 215); /* oklch */ color: oklch(54.0% 0.184 274.2);
Tailwind
colors: {
custom: {
50: '#8f8be4',
500: '#525ed7',
950: '#000000',
},
}SCSS
$custom: #525ed7; $custom-light: #8f8be4; $custom-dark: #000000;
JSON
{
"hex": "#525ed7",
"rgb": {
"r": 82,
"g": 94,
"b": 215
},
"hsl": {
"h": 234.586,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.54047,
"c": 0.18372,
"h": 274.2
},
"luminance": 0.14706
}Semantic roles & 50–950 ramp
primary
#525ED7
secondary
#DDD8A8
accent
#D742E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84