#524EE2#524EE2
#524EE2 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.217 H 277.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #524EE2 |
|---|---|
| RGB | rgb(82, 78, 226) |
| HSL | hsl(242, 72%, 60%) |
| HSV | hsv(242, 65%, 89%) |
| CMYK | cmyk(63.7%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(42.36, 45.50, -74.71) |
| CIE-LCH | lch(42.36, 87.47, 301.34°) |
| OKLab | oklab(52.2% 0.0264 -0.2155) |
| OKLCH | oklch(52.2% 0.217 277) |
| XYZ | xyz(19.9271, 12.7320, 73.3442) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.07
Purpleish Blue
#6140EF
ΔE00 4.09
Electric Blue
#0652FF
ΔE00 5.10
Iris
#6258C4
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#524EE2 #DEE24E
analogous
#4E94E2 #524EE2 #9C4EE2
triadic
#524EE2 #E2524E #4EE252
tetradic
#524EE2 #E24E94 #DEE24E #4EE29C
square
#524EE2 #E24E94 #DEE24E #4EE29C
split-complementary
#524EE2 #E29C4E #94E24E
monochromatic
#1D1A9C #2722D1 #524EE2 #8583EB #B9B7F3
Accessibility & contrast
On white
5.92
#524EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#524EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #524EE2
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##524EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##524EE2 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #524ee2; /* rgb */ color: rgb(82, 78, 226); /* oklch */ color: oklch(52.2% 0.217 277.0);
Tailwind
colors: {
custom: {
50: '#9280ec',
500: '#524ee2',
950: '#000000',
},
}SCSS
$custom: #524ee2; $custom-light: #9280ec; $custom-dark: #000000;
JSON
{
"hex": "#524ee2",
"rgb": {
"r": 82,
"g": 78,
"b": 226
},
"hsl": {
"h": 241.622,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.52202,
"c": 0.21707,
"h": 277
},
"luminance": 0.12734
}Semantic roles & 50–950 ramp
primary
#524EE2
secondary
#E1E3A9
accent
#EF39EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84