#524CCE#524CCE

#524CCE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.194 H 278.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#524CCE
RGBrgb(82, 76, 206)
HSLhsl(243, 57%, 55%)
HSVhsv(243, 63%, 81%)
CMYKcmyk(60.2%, 63.1%, 0%, 19.2%)
CIE-LABlab(40.28, 40.25, -66.65)
CIE-LCHlch(40.28, 77.86, 301.13°)
OKLaboklab(50.18% 0.0298 -0.1918)
OKLCHoklch(50.18% 0.194 278.8)
XYZxyz(17.2011, 11.4177, 59.6779)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CCE #C8CE4C
analogous
#4C87CE #524CCE #934CCE
triadic
#524CCE #CE524C #4CCE52
tetradic
#524CCE #CE4C87 #C8CE4C #4CCE93
square
#524CCE #CE4C87 #C8CE4C #4CCE93
split-complementary
#524CCE #CE934C #87CE4C
monochromatic
#26227D #352FAD #524CCE #807CDB #AFACE8

Accessibility & contrast

On white

6.40
#524CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#524CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CCE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CCE#FFFFFF#000000##FFFFFF
##524CCE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524cce;
/* rgb */ color: rgb(82, 76, 206);
/* oklch */ color: oklch(50.2% 0.194 278.8);
Tailwind
colors: {
  custom: {
    50: '#8f7ede',
    500: '#524cce',
    950: '#000000',
  },
}
SCSS
$custom: #524cce;
$custom-light: #8f7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#524cce",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 242.769,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.19413,
    "h": 278.8
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#524CCE
secondary
#D4D6A0
accent
#E048D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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