#525EE2#525EE2
#525EE2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.9% C 0.198 H 273.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #525EE2 |
|---|---|
| RGB | rgb(82, 94, 226) |
| HSL | hsl(235, 71%, 60%) |
| HSV | hsv(235, 64%, 89%) |
| CMYK | cmyk(63.7%, 58.4%, 0%, 11.4%) |
| CIE-LAB | lab(46.03, 35.90, -68.72) |
| CIE-LCH | lch(46.03, 77.53, 297.58°) |
| OKLab | oklab(54.9% 0.0136 -0.1978) |
| OKLCH | oklch(54.9% 0.198 273.9) |
| XYZ | xyz(21.2053, 15.2884, 73.7702) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.51
Dark Periwinkle
#665FD1
ΔE00 3.70
Azul
#1D5DEC
ΔE00 4.42
Royal Blue
#4169E1
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 5.04
Iris
#6258C4
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#525EE2 #E2D652
analogous
#52A6E2 #525EE2 #8E52E2
triadic
#525EE2 #E2525E #5EE252
tetradic
#525EE2 #E252A6 #E2D652 #52E28E
square
#525EE2 #E252A6 #E2D652 #52E28E
split-complementary
#525EE2 #E28E52 #A6E252
monochromatic
#1B269F #2332D3 #525EE2 #868FEB #BBC0F4
Accessibility & contrast
On white
5.17
#525EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#525EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #525EE2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##525EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##525EE2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #525ee2; /* rgb */ color: rgb(82, 94, 226); /* oklch */ color: oklch(54.9% 0.198 273.9);
Tailwind
colors: {
custom: {
50: '#918bec',
500: '#525ee2',
950: '#000000',
},
}SCSS
$custom: #525ee2; $custom-light: #918bec; $custom-dark: #000000;
JSON
{
"hex": "#525ee2",
"rgb": {
"r": 82,
"g": 94,
"b": 226
},
"hsl": {
"h": 235,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.54895,
"c": 0.19825,
"h": 273.9
},
"luminance": 0.1529
}Semantic roles & 50–950 ramp
primary
#525EE2
secondary
#E3DFAC
accent
#C312D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84