#524CE4#524CE4

#524CE4 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.222 H 277.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#524CE4
RGBrgb(82, 76, 228)
HSLhsl(242, 74%, 60%)
HSVhsv(242, 67%, 89%)
CMYKcmyk(64%, 66.7%, 0%, 10.6%)
CIE-LABlab(42.10, 47.29, -76.27)
CIE-LCHlch(42.10, 89.74, 301.80°)
OKLaboklab(52.07% 0.0276 -0.22)
OKLCHoklch(52.07% 0.222 277.1)
XYZxyz(20.0632, 12.5625, 74.7513)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CE4 #DEE44C
analogous
#4C92E4 #524CE4 #9E4CE4
triadic
#524CE4 #E4524C #4CE452
tetradic
#524CE4 #E44C92 #DEE44C #4CE49E
square
#524CE4 #E44C92 #DEE44C #4CE49E
split-complementary
#524CE4 #E49E4C #92E44C
monochromatic
#1D189E #2720D3 #524CE4 #8581EC #B9B6F4

Accessibility & contrast

On white

5.98
#524CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#524CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CE4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CE4#FFFFFF#000000##FFFFFF
##524CE41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524ce4;
/* rgb */ color: rgb(82, 76, 228);
/* oklch */ color: oklch(52.1% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#937fee',
    500: '#524ce4',
    950: '#000000',
  },
}
SCSS
$custom: #524ce4;
$custom-light: #937fee;
$custom-dark: #000000;
JSON
{
  "hex": "#524ce4",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 242.368,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.22176,
    "h": 277.1
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#524CE4
secondary
#E1E3A8
accent
#F037E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #524CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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