#524FE6#524FE6

#524FE6 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.221 H 276.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#524FE6
RGBrgb(82, 79, 230)
HSLhsl(241, 75%, 61%)
HSVhsv(241, 66%, 90%)
CMYKcmyk(64.3%, 65.7%, 0%, 9.8%)
CIE-LABlab(42.91, 46.20, -76.07)
CIE-LCHlch(42.91, 89.00, 301.27°)
OKLaboklab(52.71% 0.0252 -0.2195)
OKLCHoklch(52.71% 0.221 276.5)
XYZxyz(20.5539, 13.0972, 76.2924)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FE6 #E3E64F
analogous
#4F97E6 #524FE6 #9D4FE6
triadic
#524FE6 #E6524F #4FE652
tetradic
#524FE6 #E64F97 #E3E64F #4FE69D
square
#524FE6 #E64F97 #E3E64F #4FE69D
split-complementary
#524FE6 #E69D4F #97E64F
monochromatic
#1A17A3 #231FD9 #524FE6 #8785EE #BBBAF5

Accessibility & contrast

On white

5.80
#524FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#524FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FE6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FE6#FFFFFF#000000##FFFFFF
##524FE61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #524fe6;
/* rgb */ color: rgb(82, 79, 230);
/* oklch */ color: oklch(52.7% 0.221 276.5);
Tailwind
colors: {
  custom: {
    50: '#9381ef',
    500: '#524fe6',
    950: '#000000',
  },
}
SCSS
$custom: #524fe6;
$custom-light: #9381ef;
$custom-dark: #000000;
JSON
{
  "hex": "#524fe6",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 241.192,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.2209,
    "h": 276.5
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#524FE6
secondary
#E4E5AC
accent
#D70ED3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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