#525CE2#525CE2
#525CE2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.201 H 274.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #525CE2 |
|---|---|
| RGB | rgb(82, 92, 226) |
| HSL | hsl(236, 71%, 60%) |
| HSV | hsv(236, 64%, 89%) |
| CMYK | cmyk(63.7%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(45.55, 37.12, -69.49) |
| CIE-LCH | lch(45.55, 78.79, 298.11°) |
| OKLab | oklab(54.54% 0.0153 -0.2001) |
| OKLCH | oklch(54.54% 0.201 274.4) |
| XYZ | xyz(21.0298, 14.9373, 73.7117) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.02
Dark Periwinkle
#665FD1
ΔE00 3.68
Azul
#1D5DEC
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 4.80
Iris
#6258C4
ΔE00 5.02
Electric Blue
#0652FF
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525CE2 #E2D852
analogous
#52A4E2 #525CE2 #9052E2
triadic
#525CE2 #E2525C #5CE252
tetradic
#525CE2 #E252A4 #E2D852 #52E290
square
#525CE2 #E252A4 #E2D852 #52E290
split-complementary
#525CE2 #E29052 #A4E252
monochromatic
#1B249F #2330D3 #525CE2 #868DEB #BBBFF4
Accessibility & contrast
On white
5.27
#525CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#525CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525CE2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525CE2 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #525ce2; /* rgb */ color: rgb(82, 92, 226); /* oklch */ color: oklch(54.5% 0.201 274.4);
Tailwind
colors: {
custom: {
50: '#918aec',
500: '#525ce2',
950: '#000000',
},
}SCSS
$custom: #525ce2; $custom-light: #918aec; $custom-dark: #000000;
JSON
{
"hex": "#525ce2",
"rgb": {
"r": 82,
"g": 92,
"b": 226
},
"hsl": {
"h": 235.833,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.5454,
"c": 0.20067,
"h": 274.4
},
"luminance": 0.14939
}Semantic roles & 50–950 ramp
primary
#525CE2
secondary
#E3E0AC
accent
#C612D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84