#524DD2#524DD2

#524DD2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.7% C 0.198 H 278.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#524DD2
RGBrgb(82, 77, 210)
HSLhsl(242, 60%, 56%)
HSVhsv(242, 63%, 82%)
CMYKcmyk(61%, 63.3%, 0%, 17.6%)
CIE-LABlab(40.82, 40.94, -68.06)
CIE-LCHlch(40.82, 79.43, 301.03°)
OKLaboklab(50.68% 0.0286 -0.196)
OKLCHoklch(50.68% 0.198 278.3)
XYZxyz(17.7627, 11.7534, 62.2929)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DD2 #CDD24D
analogous
#4D8BD2 #524DD2 #954DD2
triadic
#524DD2 #D2524D #4DD252
tetradic
#524DD2 #D24D8B #CDD24D #4DD295
square
#524DD2 #D24D8B #CDD24D #4DD295
split-complementary
#524DD2 #D2954D #8BD24D
monochromatic
#252183 #332EB4 #524DD2 #817EDE #B1AFEB

Accessibility & contrast

On white

6.27
#524DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#524DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DD2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DD2#FFFFFF#000000##FFFFFF
##524DD21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524dd2;
/* rgb */ color: rgb(82, 77, 210);
/* oklch */ color: oklch(50.7% 0.198 278.3);
Tailwind
colors: {
  custom: {
    50: '#907fe1',
    500: '#524dd2',
    950: '#000000',
  },
}
SCSS
$custom: #524dd2;
$custom-light: #907fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#524dd2",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 242.256,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.19806,
    "h": 278.3
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#524DD2
secondary
#D7D9A2
accent
#E345DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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