#524BD8#524BD8

#524BD8 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.9% C 0.208 H 278.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#524BD8
RGBrgb(82, 75, 216)
HSLhsl(243, 64%, 57%)
HSVhsv(243, 65%, 85%)
CMYKcmyk(62%, 65.3%, 0%, 15.3%)
CIE-LABlab(40.87, 44.05, -71.43)
CIE-LCHlch(40.87, 83.92, 301.66°)
OKLaboklab(50.87% 0.0297 -0.2059)
OKLCHoklch(50.87% 0.208 278.2)
XYZxyz(18.3864, 11.7824, 66.2578)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BD8 #D1D84B
analogous
#4B8AD8 #524BD8 #994BD8
triadic
#524BD8 #D8524B #4BD852
tetradic
#524BD8 #D84B8A #D1D84B #4BD899
square
#524BD8 #D84B8A #D1D84B #4BD899
split-complementary
#524BD8 #D8994B #8AD84B
monochromatic
#231E8B #3029BD #524BD8 #827DE3 #B3B0EE

Accessibility & contrast

On white

6.26
#524BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#524BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BD8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BD8#FFFFFF#000000##FFFFFF
##524BD81.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524bd8;
/* rgb */ color: rgb(82, 75, 216);
/* oklch */ color: oklch(50.9% 0.208 278.2);
Tailwind
colors: {
  custom: {
    50: '#917ee5',
    500: '#524bd8',
    950: '#000000',
  },
}
SCSS
$custom: #524bd8;
$custom-light: #917ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#524bd8",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 242.979,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.208,
    "h": 278.2
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#524BD8
secondary
#D9DCA3
accent
#E740DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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