#525AE1#525AE1
#525AE1 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.1% C 0.202 H 274.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #525AE1 |
|---|---|
| RGB | rgb(82, 90, 225) |
| HSL | hsl(237, 70%, 60%) |
| HSV | hsv(237, 64%, 88%) |
| CMYK | cmyk(63.6%, 60%, 0%, 11.8%) |
| CIE-LAB | lab(45.00, 38.01, -69.82) |
| CIE-LCH | lch(45.00, 79.50, 298.56°) |
| OKLab | oklab(54.11% 0.017 -0.2011) |
| OKLCH | oklch(54.11% 0.202 274.8) |
| XYZ | xyz(20.7220, 14.5407, 72.9342) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.56
Dark Periwinkle
#665FD1
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 4.59
Iris
#6258C4
ΔE00 4.72
Azul
#1D5DEC
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525AE1 #E1D952
analogous
#52A2E1 #525AE1 #9152E1
triadic
#525AE1 #E1525A #5AE152
tetradic
#525AE1 #E152A2 #E1D952 #52E191
square
#525AE1 #E152A2 #E1D952 #52E191
split-complementary
#525AE1 #E19152 #A2E152
monochromatic
#1B239D #242ED1 #525AE1 #868CEA #BABDF3
Accessibility & contrast
On white
5.37
#525AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#525AE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525AE1
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525AE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525AE1 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #525ae1; /* rgb */ color: rgb(82, 90, 225); /* oklch */ color: oklch(54.1% 0.202 274.8);
Tailwind
colors: {
custom: {
50: '#9188eb',
500: '#525ae1',
950: '#000000',
},
}SCSS
$custom: #525ae1; $custom-light: #9188eb; $custom-dark: #000000;
JSON
{
"hex": "#525ae1",
"rgb": {
"r": 82,
"g": 90,
"b": 225
},
"hsl": {
"h": 236.643,
"s": 70.443,
"l": 60.196
},
"oklch": {
"l": 0.54111,
"c": 0.20178,
"h": 274.8
},
"luminance": 0.14542
}Semantic roles & 50–950 ramp
primary
#525AE1
secondary
#E3E0AC
accent
#C813D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84