#524EE3#524EE3

#524EE3 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.218 H 276.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#524EE3
RGBrgb(82, 78, 227)
HSLhsl(242, 73%, 60%)
HSVhsv(242, 66%, 89%)
CMYKcmyk(63.9%, 65.6%, 0%, 11%)
CIE-LABlab(42.44, 45.82, -75.14)
CIE-LCHlch(42.44, 88.00, 301.37°)
OKLaboklab(52.29% 0.0263 -0.2167)
OKLCHoklch(52.29% 0.218 276.9)
XYZxyz(20.0647, 12.7870, 74.0689)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EE3 #DFE34E
analogous
#4E94E3 #524EE3 #9D4EE3
triadic
#524EE3 #E3524E #4EE352
tetradic
#524EE3 #E34E94 #DFE34E #4EE39D
square
#524EE3 #E34E94 #DFE34E #4EE39D
split-complementary
#524EE3 #E39D4E #94E34E
monochromatic
#1D199E #2621D3 #524EE3 #8683EB #B9B8F4

Accessibility & contrast

On white

5.90
#524EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#524EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EE3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EE3#FFFFFF#000000##FFFFFF
##524EE31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524ee3;
/* rgb */ color: rgb(82, 78, 227);
/* oklch */ color: oklch(52.3% 0.218 276.9);
Tailwind
colors: {
  custom: {
    50: '#9380ed',
    500: '#524ee3',
    950: '#000000',
  },
}
SCSS
$custom: #524ee3;
$custom-light: #9380ed;
$custom-dark: #000000;
JSON
{
  "hex": "#524ee3",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 241.611,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.2183,
    "h": 276.9
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#524EE3
secondary
#E2E3AA
accent
#EF38EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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