#524BDF#524BDF

#524BDF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.217 H 277.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#524BDF
RGBrgb(82, 75, 223)
HSLhsl(243, 70%, 58%)
HSVhsv(243, 66%, 87%)
CMYKcmyk(63.2%, 66.4%, 0%, 12.5%)
CIE-LABlab(41.46, 46.28, -74.47)
CIE-LCHlch(41.46, 87.68, 301.86°)
OKLaboklab(51.47% 0.0289 -0.2148)
OKLCHoklch(51.47% 0.217 277.7)
XYZxyz(19.3107, 12.1521, 71.1257)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BDF #D8DF4B
analogous
#4B8EDF #524BDF #9C4BDF
triadic
#524BDF #DF524B #4BDF52
tetradic
#524BDF #DF4B8E #D8DF4B #4BDF9C
square
#524BDF #DF4B8E #D8DF4B #4BDF9C
split-complementary
#524BDF #DF9C4B #8EDF4B
monochromatic
#201B95 #2C24C9 #524BDF #847FE8 #B6B3F1

Accessibility & contrast

On white

6.12
#524BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#524BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BDF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BDF#FFFFFF#000000##FFFFFF
##524BDF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #524bdf;
/* rgb */ color: rgb(82, 75, 223);
/* oklch */ color: oklch(51.5% 0.217 277.7);
Tailwind
colors: {
  custom: {
    50: '#927eea',
    500: '#524bdf',
    950: '#000000',
  },
}
SCSS
$custom: #524bdf;
$custom-light: #927eea;
$custom-dark: #000000;
JSON
{
  "hex": "#524bdf",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 242.838,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.21672,
    "h": 277.7
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

primary
#524BDF
secondary
#DDE0A6
accent
#ED3BE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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