#524FE8#524FE8

#524FE8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.223 H 276.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#524FE8
RGBrgb(82, 79, 232)
HSLhsl(241, 77%, 61%)
HSVhsv(241, 66%, 91%)
CMYKcmyk(64.7%, 65.9%, 0%, 9%)
CIE-LABlab(43.08, 46.84, -76.93)
CIE-LCHlch(43.08, 90.06, 301.34°)
OKLaboklab(52.88% 0.025 -0.222)
OKLCHoklch(52.88% 0.223 276.4)
XYZxyz(20.8364, 13.2102, 77.7801)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FE8 #E5E84F
analogous
#4F99E8 #524FE8 #9E4FE8
triadic
#524FE8 #E8524F #4FE852
tetradic
#524FE8 #E84F99 #E5E84F #4FE89E
square
#524FE8 #E84F99 #E5E84F #4FE89E
split-complementary
#524FE8 #E89E4F #99E84F
monochromatic
#1916A7 #211DDD #524FE8 #8785EF #BCBBF6

Accessibility & contrast

On white

5.77
#524FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#524FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FE8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FE8#FFFFFF#000000##FFFFFF
##524FE81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#005FE5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #524fe8;
/* rgb */ color: rgb(82, 79, 232);
/* oklch */ color: oklch(52.9% 0.223 276.4);
Tailwind
colors: {
  custom: {
    50: '#9481f0',
    500: '#524fe8',
    950: '#000000',
  },
}
SCSS
$custom: #524fe8;
$custom-light: #9481f0;
$custom-dark: #000000;
JSON
{
  "hex": "#524fe8",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 241.176,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.22337,
    "h": 276.4
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#524FE8
secondary
#E5E6AD
accent
#D90CD5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #524FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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