#524DD4#524DD4

#524DD4 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.8% C 0.201 H 278.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#524DD4
RGBrgb(82, 77, 212)
HSLhsl(242, 61%, 57%)
HSVhsv(242, 64%, 83%)
CMYKcmyk(61.3%, 63.7%, 0%, 16.9%)
CIE-LABlab(40.98, 41.59, -68.95)
CIE-LCHlch(40.98, 80.52, 301.10°)
OKLaboklab(50.85% 0.0285 -0.1986)
OKLCHoklch(50.85% 0.201 278.2)
XYZxyz(18.0134, 11.8537, 63.6133)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DD4 #CFD44D
analogous
#4D8CD4 #524DD4 #964DD4
triadic
#524DD4 #D4524D #4DD452
tetradic
#524DD4 #D44D8C #CFD44D #4DD496
square
#524DD4 #D44D8C #CFD44D #4DD496
split-complementary
#524DD4 #D4964D #8CD44D
monochromatic
#242086 #312CB7 #524DD4 #827EE0 #B2B0EC

Accessibility & contrast

On white

6.23
#524DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#524DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DD4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DD4#FFFFFF#000000##FFFFFF
##524DD41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524dd4;
/* rgb */ color: rgb(82, 77, 212);
/* oklch */ color: oklch(50.8% 0.201 278.2);
Tailwind
colors: {
  custom: {
    50: '#907fe2',
    500: '#524dd4',
    950: '#000000',
  },
}
SCSS
$custom: #524dd4;
$custom-light: #907fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#524dd4",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 242.222,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.20061,
    "h": 278.2
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#524DD4
secondary
#D8DAA3
accent
#E444DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #524DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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