#524DE8#524DE8

#524DE8 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.226 H 276.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#524DE8
RGBrgb(82, 77, 232)
HSLhsl(242, 77%, 61%)
HSVhsv(242, 67%, 91%)
CMYKcmyk(64.7%, 66.8%, 0%, 9%)
CIE-LABlab(42.65, 47.99, -77.63)
CIE-LCHlch(42.65, 91.26, 301.72°)
OKLaboklab(52.57% 0.0264 -0.224)
OKLCHoklch(52.57% 0.226 276.7)
XYZxyz(20.6943, 12.9260, 77.7327)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DE8 #E3E84D
analogous
#4D96E8 #524DE8 #9F4DE8
triadic
#524DE8 #E8524D #4DE852
tetradic
#524DE8 #E84D96 #E3E84D #4DE89F
square
#524DE8 #E84D96 #E3E84D #4DE89F
split-complementary
#524DE8 #E89F4D #96E84D
monochromatic
#1A15A5 #231CDB #524DE8 #8783EF #BBB9F6

Accessibility & contrast

On white

5.86
#524DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#524DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DE8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DE8#FFFFFF#000000##FFFFFF
##524DE81.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#005EE5
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #524de8;
/* rgb */ color: rgb(82, 77, 232);
/* oklch */ color: oklch(52.6% 0.226 276.7);
Tailwind
colors: {
  custom: {
    50: '#9480f1',
    500: '#524de8',
    950: '#000000',
  },
}
SCSS
$custom: #524de8;
$custom-light: #9480f1;
$custom-dark: #000000;
JSON
{
  "hex": "#524de8",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 241.935,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.22557,
    "h": 276.7
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#524DE8
secondary
#E4E6AB
accent
#D90CD3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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