#524BE6#524BE6

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

Color values

HEX#524BE6
RGBrgb(82, 75, 230)
HSLhsl(243, 76%, 60%)
HSVhsv(243, 67%, 90%)
CMYKcmyk(64.3%, 67.4%, 0%, 9.8%)
CIE-LABlab(42.06, 48.50, -77.47)
CIE-LCHlch(42.06, 91.39, 302.05°)
OKLaboklab(52.09% 0.0281 -0.2235)
OKLCHoklch(52.09% 0.225 277.2)
XYZxyz(20.2740, 12.5375, 76.1991)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BE6 #DFE64B
analogous
#4B91E6 #524BE6 #A04BE6
triadic
#524BE6 #E6524B #4BE652
tetradic
#524BE6 #E64B91 #DFE64B #4BE6A0
square
#524BE6 #E64B91 #DFE64B #4BE6A0
split-complementary
#524BE6 #E6A04B #91E64B
monochromatic
#1D16A0 #261ED6 #524BE6 #8681ED #B9B6F5

Accessibility & contrast

On white

5.99
#524BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524BE6
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BE6#FFFFFF#000000##FFFFFF
##524BE61.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524be6;
/* rgb */ color: rgb(82, 75, 230);
/* oklch */ color: oklch(52.1% 0.225 277.2);
Tailwind
colors: {
  custom: {
    50: '#937eef',
    500: '#524be6',
    950: '#000000',
  },
}
SCSS
$custom: #524be6;
$custom-light: #937eef;
$custom-dark: #000000;
JSON
{
  "hex": "#524be6",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 242.71,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.2253,
    "h": 277.2
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#524BE6
secondary
#E2E4A8
accent
#F236EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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