#524EEB#524EEB

#524EEB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.0% C 0.228 H 276.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#524EEB
RGBrgb(82, 78, 235)
HSLhsl(242, 80%, 61%)
HSVhsv(242, 67%, 92%)
CMYKcmyk(65.1%, 66.8%, 0%, 7.8%)
CIE-LABlab(43.12, 48.37, -78.55)
CIE-LCHlch(43.12, 92.25, 301.62°)
OKLaboklab(52.99% 0.0253 -0.2267)
OKLCHoklch(52.99% 0.228 276.4)
XYZxyz(21.1946, 13.2389, 80.0196)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EEB #E7EB4E
analogous
#4E99EB #524EEB #A14EEB
triadic
#524EEB #EB524E #4EEB52
tetradic
#524EEB #EB4E99 #E7EB4E #4EEBA1
square
#524EEB #EB4E99 #E7EB4E #4EEBA1
split-complementary
#524EEB #EBA14E #99EB4E
monochromatic
#1713AB #1F1AE2 #524EEB #8885F1 #BDBCF7

Accessibility & contrast

On white

5.76
#524EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#524EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EEB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EEB#FFFFFF#000000##FFFFFF
##524EEB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #524eeb;
/* rgb */ color: rgb(82, 78, 235);
/* oklch */ color: oklch(53.0% 0.228 276.4);
Tailwind
colors: {
  custom: {
    50: '#9481f3',
    500: '#524eeb',
    950: '#000000',
  },
}
SCSS
$custom: #524eeb;
$custom-light: #9481f3;
$custom-dark: #000000;
JSON
{
  "hex": "#524eeb",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 241.529,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.22814,
    "h": 276.4
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#524EEB
secondary
#E6E8AD
accent
#DC09D7
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524EEB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#524EEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva