#524EFF#524EFF

#524EFF is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.8% C 0.252 H 275.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#524EFF
RGBrgb(82, 78, 255)
HSLhsl(241, 100%, 65%)
HSVhsv(241, 69%, 100%)
CMYKcmyk(67.8%, 69.4%, 0%, 0%)
CIE-LABlab(44.89, 54.67, -86.87)
CIE-LCHlch(44.89, 102.64, 302.19°)
OKLaboklab(54.8% 0.0227 -0.251)
OKLCHoklch(54.8% 0.252 275.2)
XYZxyz(24.2481, 14.4604, 96.1016)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EFF #FBFF4E
analogous
#4EA2FF #524EFF #AA4EFF
triadic
#524EFF #FF524E #4EFF52
tetradic
#524EFF #FF4EA2 #FBFF4E #4EFFAA
square
#524EFF #FF4EA2 #FBFF4E #4EFFAA
split-complementary
#524EFF #FFAA4E #A2FF4E
monochromatic
#0500D3 #1611FF #524EFF #8E8BFF #CAC8FF

Accessibility & contrast

On white

5.39
#524EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#524EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524EFF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524EFF#FFFFFF#000000##FFFFFF
##524EFF1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0062FC
Tritanopia (blue-blind)
#007FA1
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #524eff;
/* rgb */ color: rgb(82, 78, 255);
/* oklch */ color: oklch(54.8% 0.252 275.2);
Tailwind
colors: {
  custom: {
    50: '#9881ff',
    500: '#524eff',
    950: '#000000',
  },
}
SCSS
$custom: #524eff;
$custom-light: #9881ff;
$custom-dark: #000000;
JSON
{
  "hex": "#524eff",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 241.356,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.25207,
    "h": 275.2
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#524EFF
secondary
#F1F2B7
accent
#E600E0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #524EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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