#524BFC#524BFC

#524BFC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.1% C 0.252 H 275.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#524BFC
RGBrgb(82, 75, 252)
HSLhsl(242, 97%, 64%)
HSVhsv(242, 70%, 99%)
CMYKcmyk(67.5%, 70.2%, 0%, 1.2%)
CIE-LABlab(44.02, 55.38, -86.62)
CIE-LCHlch(44.02, 102.81, 302.59°)
OKLaboklab(54.1% 0.0248 -0.2503)
OKLCHoklch(54.1% 0.252 275.7)
XYZxyz(23.5607, 13.8521, 93.5087)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BFC #F5FC4B
analogous
#4B9DFC #524BFC #AB4BFC
triadic
#524BFC #FC524B #4BFC52
tetradic
#524BFC #FC4B9D #F5FC4B #4BFCAB
square
#524BFC #FC4B9D #F5FC4B #4BFCAB
split-complementary
#524BFC #FCAB4B #9DFC4B
monochromatic
#0B03C9 #180FFB #524BFC #8C87FD #C6C3FE

Accessibility & contrast

On white

5.57
#524BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#524BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BFC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BFC#FFFFFF#000000##FFFFFF
##524BFC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0060F9
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #524bfc;
/* rgb */ color: rgb(82, 75, 252);
/* oklch */ color: oklch(54.1% 0.252 275.7);
Tailwind
colors: {
  custom: {
    50: '#987fff',
    500: '#524bfc',
    950: '#000000',
  },
}
SCSS
$custom: #524bfc;
$custom-light: #987fff;
$custom-dark: #000000;
JSON
{
  "hex": "#524bfc",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 242.373,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.25155,
    "h": 275.7
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#524BFC
secondary
#EEF0B3
accent
#E600DC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #524BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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