#524CCB#524CCB

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

Color values

HEX#524CCB
RGBrgb(82, 76, 203)
HSLhsl(243, 55%, 55%)
HSVhsv(243, 63%, 80%)
CMYKcmyk(59.6%, 62.6%, 0%, 20.4%)
CIE-LABlab(40.04, 39.29, -65.30)
CIE-LCHlch(40.04, 76.21, 301.03°)
OKLaboklab(49.93% 0.03 -0.1879)
OKLCHoklch(49.93% 0.19 279.1)
XYZxyz(16.8402, 11.2733, 57.7769)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CCB #C5CB4C
analogous
#4C85CB #524CCB #924CCB
triadic
#524CCB #CB524C #4CCB52
tetradic
#524CCB #CB4C85 #C5CB4C #4CCB92
square
#524CCB #CB4C85 #C5CB4C #4CCB92
split-complementary
#524CCB #CB924C #85CB4C
monochromatic
#272379 #3731A9 #524CCB #807BD9 #AEABE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524CCB#FFFFFF#000000##FFFFFF
##524CCB1.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)
#0063CF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #524ccb;
/* rgb */ color: rgb(82, 76, 203);
/* oklch */ color: oklch(49.9% 0.190 279.1);
Tailwind
colors: {
  custom: {
    50: '#8f7edc',
    500: '#524ccb',
    950: '#000000',
  },
}
SCSS
$custom: #524ccb;
$custom-light: #8f7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#524ccb",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 242.835,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.19026,
    "h": 279.1
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#524CCB
secondary
#D2D49F
accent
#DE49D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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