#524EDB#524EDB

#524EDB is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.208 H 277.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#524EDB
RGBrgb(82, 78, 219)
HSLhsl(242, 66%, 58%)
HSVhsv(242, 64%, 86%)
CMYKcmyk(62.6%, 64.4%, 0%, 14.1%)
CIE-LABlab(41.78, 43.25, -71.67)
CIE-LCHlch(41.78, 83.70, 301.11°)
OKLaboklab(51.6% 0.027 -0.2065)
OKLCHoklch(51.6% 0.208 277.5)
XYZxyz(18.9861, 12.3556, 68.3884)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EDB #D7DB4E
analogous
#4E90DB #524EDB #984EDB
triadic
#524EDB #DB524E #4EDB52
tetradic
#524EDB #DB4E90 #D7DB4E #4EDB98
square
#524EDB #DB4E90 #D7DB4E #4EDB98
split-complementary
#524EDB #DB984E #90DB4E
monochromatic
#211E91 #2C28C4 #524EDB #8481E5 #B5B4F0

Accessibility & contrast

On white

6.05
#524EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#524EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EDB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EDB#FFFFFF#000000##FFFFFF
##524EDB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524edb;
/* rgb */ color: rgb(82, 78, 219);
/* oklch */ color: oklch(51.6% 0.208 277.5);
Tailwind
colors: {
  custom: {
    50: '#9180e7',
    500: '#524edb',
    950: '#000000',
  },
}
SCSS
$custom: #524edb;
$custom-light: #9180e7;
$custom-dark: #000000;
JSON
{
  "hex": "#524edb",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 241.702,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.20831,
    "h": 277.5
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#524EDB
secondary
#DDDEA6
accent
#E93FE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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