#524FFA#524FFA

#524FFA is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.5% C 0.245 H 275.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#524FFA
RGBrgb(82, 79, 250)
HSLhsl(241, 94%, 65%)
HSVhsv(241, 68%, 98%)
CMYKcmyk(67.2%, 68.4%, 0%, 2%)
CIE-LABlab(44.64, 52.55, -84.49)
CIE-LCHlch(44.64, 99.50, 301.88°)
OKLaboklab(54.48% 0.0228 -0.2441)
OKLCHoklch(54.48% 0.245 275.3)
XYZxyz(23.5253, 14.2858, 91.9416)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FFA #F7FA4F
analogous
#4FA1FA #524FFA #A84FFA
triadic
#524FFA #FA524F #4FFA52
tetradic
#524FFA #FA4FA1 #F7FA4F #4FFAA8
square
#524FFA #FA4FA1 #F7FA4F #4FFAA8
split-complementary
#524FFA #FAA84F #A1FA4F
monochromatic
#0906C9 #1813F8 #524FFA #8C8BFC #C7C6FD

Accessibility & contrast

On white

5.44
#524FFA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#524FFA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FFA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FFA#FFFFFF#000000##FFFFFF
##524FFA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0062F7
Tritanopia (blue-blind)
#007E9F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #524ffa;
/* rgb */ color: rgb(82, 79, 250);
/* oklch */ color: oklch(54.5% 0.245 275.3);
Tailwind
colors: {
  custom: {
    50: '#9782fd',
    500: '#524ffa',
    950: '#000000',
  },
}
SCSS
$custom: #524ffa;
$custom-light: #9782fd;
$custom-dark: #000000;
JSON
{
  "hex": "#524ffa",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 250
  },
  "hsl": {
    "h": 241.053,
    "s": 94.475,
    "l": 64.51
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.24514,
    "h": 275.3
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#524FFA
secondary
#EFF0B5
accent
#E600E1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #524FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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