#524DE6#524DE6

#524DE6 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.4% C 0.223 H 276.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#524DE6
RGBrgb(82, 77, 230)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 67%, 90%)
CMYKcmyk(64.3%, 66.5%, 0%, 9.8%)
CIE-LABlab(42.48, 47.35, -76.77)
CIE-LCHlch(42.48, 90.20, 301.67°)
OKLaboklab(52.4% 0.0266 -0.2215)
OKLCHoklch(52.4% 0.223 276.9)
XYZxyz(20.4118, 12.8130, 76.2451)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DE6 #E1E64D
analogous
#4D94E6 #524DE6 #9F4DE6
triadic
#524DE6 #E6524D #4DE652
tetradic
#524DE6 #E64D94 #E1E64D #4DE69F
square
#524DE6 #E64D94 #E1E64D #4DE69F
split-complementary
#524DE6 #E69F4D #94E64D
monochromatic
#1B17A2 #241ED8 #524DE6 #8683EE #BAB8F5

Accessibility & contrast

On white

5.89
#524DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#524DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DE6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DE6#FFFFFF#000000##FFFFFF
##524DE61.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524de6;
/* rgb */ color: rgb(82, 77, 230);
/* oklch */ color: oklch(52.4% 0.223 276.9);
Tailwind
colors: {
  custom: {
    50: '#9380ef',
    500: '#524de6',
    950: '#000000',
  },
}
SCSS
$custom: #524de6;
$custom-light: #9380ef;
$custom-dark: #000000;
JSON
{
  "hex": "#524de6",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 241.961,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.22312,
    "h": 276.9
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#524DE6
secondary
#E3E5AA
accent
#D80ED1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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