#525AE2#525AE2
#525AE2 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.2% C 0.203 H 274.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #525AE2 |
|---|---|
| RGB | rgb(82, 90, 226) |
| HSL | hsl(237, 71%, 60%) |
| HSV | hsv(237, 64%, 89%) |
| CMYK | cmyk(63.7%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(45.08, 38.34, -70.27) |
| CIE-LCH | lch(45.08, 80.04, 298.62°) |
| OKLab | oklab(54.19% 0.0169 -0.2024) |
| OKLCH | oklch(54.19% 0.203 274.8) |
| XYZ | xyz(20.8588, 14.5954, 73.6547) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.65
Dark Periwinkle
#665FD1
ΔE00 3.78
Slate Blue
#6A5ACD
ΔE00 4.65
Azul
#1D5DEC
ΔE00 4.79
Iris
#6258C4
ΔE00 4.82
Electric Blue
#0652FF
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525AE2 #E2DA52
analogous
#52A2E2 #525AE2 #9252E2
triadic
#525AE2 #E2525A #5AE252
tetradic
#525AE2 #E252A2 #E2DA52 #52E292
square
#525AE2 #E252A2 #E2DA52 #52E292
split-complementary
#525AE2 #E29252 #A2E252
monochromatic
#1B229F #232DD3 #525AE2 #868CEB #BBBEF4
Accessibility & contrast
On white
5.36
#525AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#525AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525AE2
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525AE2 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #525ae2; /* rgb */ color: rgb(82, 90, 226); /* oklch */ color: oklch(54.2% 0.203 274.8);
Tailwind
colors: {
custom: {
50: '#9288ec',
500: '#525ae2',
950: '#000000',
},
}SCSS
$custom: #525ae2; $custom-light: #9288ec; $custom-dark: #000000;
JSON
{
"hex": "#525ae2",
"rgb": {
"r": 82,
"g": 90,
"b": 226
},
"hsl": {
"h": 236.667,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.54191,
"c": 0.20308,
"h": 274.8
},
"luminance": 0.14597
}Semantic roles & 50–950 ramp
primary
#525AE2
secondary
#E3E0AC
accent
#C912D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84