#524FD1#524FD1

#524FD1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.194 H 278.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#524FD1
RGBrgb(82, 79, 209)
HSLhsl(241, 59%, 56%)
HSVhsv(241, 62%, 82%)
CMYKcmyk(60.8%, 62.2%, 0%, 18%)
CIE-LABlab(41.20, 39.42, -66.88)
CIE-LCHlch(41.20, 77.63, 300.52°)
OKLaboklab(50.93% 0.027 -0.1925)
OKLCHoklch(50.93% 0.194 278)
XYZxyz(17.7806, 11.9879, 61.6862)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FD1 #CED14F
analogous
#4F8DD1 #524FD1 #934FD1
triadic
#524FD1 #D1524F #4FD152
tetradic
#524FD1 #D14F8D #CED14F #4FD193
square
#524FD1 #D14F8D #CED14F #4FD193
split-complementary
#524FD1 #D1934F #8DD14F
monochromatic
#252283 #322FB4 #524FD1 #8280DE #B1B0EA

Accessibility & contrast

On white

6.18
#524FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#524FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FD1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FD1#FFFFFF#000000##FFFFFF
##524FD11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524fd1;
/* rgb */ color: rgb(82, 79, 209);
/* oklch */ color: oklch(50.9% 0.194 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f81e0',
    500: '#524fd1',
    950: '#000000',
  },
}
SCSS
$custom: #524fd1;
$custom-light: #8f81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#524fd1",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 241.385,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.19436,
    "h": 278
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#524FD1
secondary
#D7D9A3
accent
#E246DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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