#524FD2#524FD2

#524FD2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.196 H 277.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#524FD2
RGBrgb(82, 79, 210)
HSLhsl(241, 59%, 57%)
HSVhsv(241, 62%, 82%)
CMYKcmyk(61%, 62.4%, 0%, 17.6%)
CIE-LABlab(41.28, 39.75, -67.32)
CIE-LCHlch(41.28, 78.18, 300.56°)
OKLaboklab(51.01% 0.0269 -0.1938)
OKLCHoklch(51.01% 0.196 277.9)
XYZxyz(17.9048, 12.0376, 62.3402)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FD2 #CFD24F
analogous
#4F8ED2 #524FD2 #944FD2
triadic
#524FD2 #D2524F #4FD252
tetradic
#524FD2 #D24F8E #CFD24F #4FD294
square
#524FD2 #D24F8E #CFD24F #4FD294
split-complementary
#524FD2 #D2944F #8ED24F
monochromatic
#242285 #312EB5 #524FD2 #8280DE #B2B0EB

Accessibility & contrast

On white

6.16
#524FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#524FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FD2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FD2#FFFFFF#000000##FFFFFF
##524FD21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524fd2;
/* rgb */ color: rgb(82, 79, 210);
/* oklch */ color: oklch(51.0% 0.196 277.9);
Tailwind
colors: {
  custom: {
    50: '#9081e1',
    500: '#524fd2',
    950: '#000000',
  },
}
SCSS
$custom: #524fd2;
$custom-light: #9081e1;
$custom-dark: #000000;
JSON
{
  "hex": "#524fd2",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 241.374,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.19565,
    "h": 277.9
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#524FD2
secondary
#D8D9A4
accent
#E245DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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