#524CE3#524CE3

#524CE3 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.221 H 277.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#524CE3
RGBrgb(82, 76, 227)
HSLhsl(242, 73%, 59%)
HSVhsv(242, 67%, 89%)
CMYKcmyk(63.9%, 66.5%, 0%, 11%)
CIE-LABlab(42.01, 46.97, -75.84)
CIE-LCHlch(42.01, 89.21, 301.77°)
OKLaboklab(51.98% 0.0277 -0.2188)
OKLCHoklch(51.98% 0.221 277.2)
XYZxyz(19.9247, 12.5071, 74.0223)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CE3 #DDE34C
analogous
#4C92E3 #524CE3 #9E4CE3
triadic
#524CE3 #E3524C #4CE352
tetradic
#524CE3 #E34C92 #DDE34C #4CE39E
square
#524CE3 #E34C92 #DDE34C #4CE39E
split-complementary
#524CE3 #E39E4C #92E34C
monochromatic
#1E189C #2821D1 #524CE3 #8581EB #B8B6F4

Accessibility & contrast

On white

6.00
#524CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#524CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CE3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CE3#FFFFFF#000000##FFFFFF
##524CE31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#005DE0
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524ce3;
/* rgb */ color: rgb(82, 76, 227);
/* oklch */ color: oklch(52.0% 0.221 277.2);
Tailwind
colors: {
  custom: {
    50: '#937fed',
    500: '#524ce3',
    950: '#000000',
  },
}
SCSS
$custom: #524ce3;
$custom-light: #937fed;
$custom-dark: #000000;
JSON
{
  "hex": "#524ce3",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 242.384,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.22054,
    "h": 277.2
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#524CE3
secondary
#E0E3A8
accent
#F038E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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