#524BCE#524BCE

#524BCE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.195 H 279.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#524BCE
RGBrgb(82, 75, 206)
HSLhsl(243, 57%, 55%)
HSVhsv(243, 64%, 81%)
CMYKcmyk(60.2%, 63.6%, 0%, 19.2%)
CIE-LABlab(40.05, 40.85, -67.02)
CIE-LCHlch(40.05, 78.49, 301.37°)
OKLaboklab(50.02% 0.0307 -0.1929)
OKLCHoklch(50.02% 0.195 279)
XYZxyz(17.1328, 11.2810, 59.6552)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BCE #C7CE4B
analogous
#4B86CE #524BCE #934BCE
triadic
#524BCE #CE524B #4BCE52
tetradic
#524BCE #CE4B86 #C7CE4B #4BCE93
square
#524BCE #CE4B86 #C7CE4B #4BCE93
split-complementary
#524BCE #CE934B #86CE4B
monochromatic
#27227D #362FAD #524BCE #807BDB #AEABE8

Accessibility & contrast

On white

6.45
#524BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#524BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BCE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BCE#FFFFFF#000000##FFFFFF
##524BCE1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524bce;
/* rgb */ color: rgb(82, 75, 206);
/* oklch */ color: oklch(50.0% 0.195 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ede',
    500: '#524bce',
    950: '#000000',
  },
}
SCSS
$custom: #524bce;
$custom-light: #8f7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#524bce",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 243.206,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.19533,
    "h": 279
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#524BCE
secondary
#D3D69F
accent
#E047D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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