#524EEF#524EEF

#524EEF is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.3% C 0.233 H 276.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#524EEF
RGBrgb(82, 78, 239)
HSLhsl(241, 83%, 62%)
HSVhsv(241, 67%, 94%)
CMYKcmyk(65.7%, 67.4%, 0%, 6.3%)
CIE-LABlab(43.47, 49.64, -80.24)
CIE-LCHlch(43.47, 94.35, 301.74°)
OKLaboklab(53.35% 0.0248 -0.2317)
OKLCHoklch(53.35% 0.233 276.1)
XYZxyz(21.7790, 13.4727, 83.0974)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EEF #EBEF4E
analogous
#4E9AEF #524EEF #A34EEF
triadic
#524EEF #EF524E #4EEF52
tetradic
#524EEF #EF4E9A #EBEF4E #4EEFA3
square
#524EEF #EF4E9A #EBEF4E #4EEFA3
split-complementary
#524EEF #EFA34E #9AEF4E
monochromatic
#1410B2 #1B16EA #524EEF #8986F4 #C0BEF9

Accessibility & contrast

On white

5.68
#524EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#524EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EEF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EEF#FFFFFF#000000##FFFFFF
##524EEF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0060EC
Tritanopia (blue-blind)
#007998
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #524eef;
/* rgb */ color: rgb(82, 78, 239);
/* oklch */ color: oklch(53.3% 0.233 276.1);
Tailwind
colors: {
  custom: {
    50: '#9581f5',
    500: '#524eef',
    950: '#000000',
  },
}
SCSS
$custom: #524eef;
$custom-light: #9581f5;
$custom-dark: #000000;
JSON
{
  "hex": "#524eef",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 241.491,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.233,
    "h": 276.1
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#524EEF
secondary
#E8EAAF
accent
#E006DA
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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