#524FE2#524FE2

#524FE2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.216 H 276.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#524FE2
RGBrgb(82, 79, 226)
HSLhsl(241, 72%, 60%)
HSVhsv(241, 65%, 89%)
CMYKcmyk(63.7%, 65%, 0%, 11.4%)
CIE-LABlab(42.57, 44.91, -74.35)
CIE-LCHlch(42.57, 86.86, 301.14°)
OKLaboklab(52.36% 0.0256 -0.2144)
OKLCHoklch(52.36% 0.216 276.8)
XYZxyz(19.9987, 12.8751, 73.3680)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FE2 #DFE24F
analogous
#4F96E2 #524FE2 #9B4FE2
triadic
#524FE2 #E2524F #4FE252
tetradic
#524FE2 #E24F96 #DFE24F #4FE29B
square
#524FE2 #E24F96 #DFE24F #4FE29B
split-complementary
#524FE2 #E29B4F #96E24F
monochromatic
#1D1A9D #2622D1 #524FE2 #8684EB #B9B8F3

Accessibility & contrast

On white

5.87
#524FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#524FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FE2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FE2#FFFFFF#000000##FFFFFF
##524FE21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #524fe2;
/* rgb */ color: rgb(82, 79, 226);
/* oklch */ color: oklch(52.4% 0.216 276.8);
Tailwind
colors: {
  custom: {
    50: '#9281ec',
    500: '#524fe2',
    950: '#000000',
  },
}
SCSS
$custom: #524fe2;
$custom-light: #9281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#524fe2",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 241.224,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.21593,
    "h": 276.8
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #524FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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