#524AE8#524AE8

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

Color values

HEX#524AE8
RGBrgb(82, 74, 232)
HSLhsl(243, 77%, 60%)
HSVhsv(243, 68%, 91%)
CMYKcmyk(64.7%, 68.1%, 0%, 9%)
CIE-LABlab(42.02, 49.69, -78.65)
CIE-LCHlch(42.02, 93.04, 302.28°)
OKLaboklab(52.12% 0.0285 -0.227)
OKLCHoklch(52.12% 0.229 277.1)
XYZxyz(20.4892, 12.5159, 77.6643)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AE8 #E0E84A
analogous
#4A91E8 #524AE8 #A14AE8
triadic
#524AE8 #E8524A #4AE852
tetradic
#524AE8 #E84A91 #E0E84A #4AE8A1
square
#524AE8 #E84A91 #E0E84A #4AE8A1
split-complementary
#524AE8 #E8A14A #91E84A
monochromatic
#1C15A3 #251CD9 #524AE8 #8680EF #BAB7F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524AE8#FFFFFF#000000##FFFFFF
##524AE81.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#005CE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #524ae8;
/* rgb */ color: rgb(82, 74, 232);
/* oklch */ color: oklch(52.1% 0.229 277.1);
Tailwind
colors: {
  custom: {
    50: '#947ef1',
    500: '#524ae8',
    950: '#000000',
  },
}
SCSS
$custom: #524ae8;
$custom-light: #947ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#524ae8",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 243.038,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.22881,
    "h": 277.1
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#524AE8
secondary
#E2E5A8
accent
#F434EA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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