#524BDB#524BDB

#524BDB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.212 H 278.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#524BDB
RGBrgb(82, 75, 219)
HSLhsl(243, 67%, 58%)
HSVhsv(243, 66%, 86%)
CMYKcmyk(62.6%, 65.8%, 0%, 14.1%)
CIE-LABlab(41.12, 45.01, -72.74)
CIE-LCHlch(41.12, 85.54, 301.75°)
OKLaboklab(51.12% 0.0294 -0.2097)
OKLCHoklch(51.12% 0.212 278)
XYZxyz(18.7778, 11.9390, 68.3190)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BDB #D4DB4B
analogous
#4B8CDB #524BDB #9A4BDB
triadic
#524BDB #DB524B #4BDB52
tetradic
#524BDB #DB4B8C #D4DB4B #4BDB9A
square
#524BDB #DB4B8C #D4DB4B #4BDB9A
split-complementary
#524BDB #DB9A4B #8CDB4B
monochromatic
#221D8F #2E27C2 #524BDB #837EE5 #B4B1EF

Accessibility & contrast

On white

6.20
#524BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#524BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BDB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BDB#FFFFFF#000000##FFFFFF
##524BDB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524bdb;
/* rgb */ color: rgb(82, 75, 219);
/* oklch */ color: oklch(51.1% 0.212 278.0);
Tailwind
colors: {
  custom: {
    50: '#917ee7',
    500: '#524bdb',
    950: '#000000',
  },
}
SCSS
$custom: #524bdb;
$custom-light: #917ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#524bdb",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 242.917,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.21176,
    "h": 278
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#524BDB
secondary
#DBDEA4
accent
#EA3EE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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