#524FD4#524FD4

#524FD4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.198 H 277.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#524FD4
RGBrgb(82, 79, 212)
HSLhsl(241, 61%, 57%)
HSVhsv(241, 63%, 83%)
CMYKcmyk(61.3%, 62.7%, 0%, 16.9%)
CIE-LABlab(41.43, 40.39, -68.21)
CIE-LCHlch(41.43, 79.28, 300.63°)
OKLaboklab(51.18% 0.0268 -0.1964)
OKLCHoklch(51.18% 0.198 277.8)
XYZxyz(18.1555, 12.1379, 63.6607)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FD4 #D1D44F
analogous
#4F8FD4 #524FD4 #944FD4
triadic
#524FD4 #D4524F #4FD452
tetradic
#524FD4 #D44F8F #D1D44F #4FD494
square
#524FD4 #D44F8F #D1D44F #4FD494
split-complementary
#524FD4 #D4944F #8FD44F
monochromatic
#232187 #302DB9 #524FD4 #8280E0 #B3B1EC

Accessibility & contrast

On white

6.13
#524FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#524FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FD4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FD4#FFFFFF#000000##FFFFFF
##524FD41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #524fd4;
/* rgb */ color: rgb(82, 79, 212);
/* oklch */ color: oklch(51.2% 0.198 277.8);
Tailwind
colors: {
  custom: {
    50: '#9081e2',
    500: '#524fd4',
    950: '#000000',
  },
}
SCSS
$custom: #524fd4;
$custom-light: #9081e2;
$custom-dark: #000000;
JSON
{
  "hex": "#524fd4",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 241.353,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51176,
    "c": 0.19823,
    "h": 277.8
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#524FD4
secondary
#D9DAA4
accent
#E444E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #524FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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