#524FE1#524FE1

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

Color values

HEX#524FE1
RGBrgb(82, 79, 225)
HSLhsl(241, 71%, 60%)
HSVhsv(241, 65%, 88%)
CMYKcmyk(63.6%, 64.9%, 0%, 11.8%)
CIE-LABlab(42.49, 44.59, -73.92)
CIE-LCHlch(42.49, 86.32, 301.10°)
OKLaboklab(52.27% 0.0257 -0.2131)
OKLCHoklch(52.27% 0.215 276.9)
XYZxyz(19.8618, 12.8204, 72.6475)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FE1 #DEE14F
analogous
#4F95E1 #524FE1 #9B4FE1
triadic
#524FE1 #E1524F #4FE152
tetradic
#524FE1 #E14F95 #DEE14F #4FE19B
square
#524FE1 #E14F95 #DEE14F #4FE19B
split-complementary
#524FE1 #E19B4F #95E14F
monochromatic
#1D1A9B #2723CF #524FE1 #8583EA #B9B8F3

Accessibility & contrast

On white

5.89
#524FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524FE1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FE1#FFFFFF#000000##FFFFFF
##524FE11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524fe1;
/* rgb */ color: rgb(82, 79, 225);
/* oklch */ color: oklch(52.3% 0.215 276.9);
Tailwind
colors: {
  custom: {
    50: '#9281ec',
    500: '#524fe1',
    950: '#000000',
  },
}
SCSS
$custom: #524fe1;
$custom-light: #9281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#524fe1",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 241.233,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.21468,
    "h": 276.9
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#524FE1
secondary
#E1E2AA
accent
#EE3AEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #524FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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