#524DCF#524DCF

#524DCF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.4% C 0.194 H 278.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#524DCF
RGBrgb(82, 77, 207)
HSLhsl(242, 58%, 56%)
HSVhsv(242, 63%, 81%)
CMYKcmyk(60.4%, 62.8%, 0%, 18.8%)
CIE-LABlab(40.58, 39.98, -66.73)
CIE-LCHlch(40.58, 77.78, 300.93°)
OKLaboklab(50.43% 0.0289 -0.192)
OKLCHoklch(50.43% 0.194 278.5)
XYZxyz(17.3924, 11.6053, 60.3429)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DCF #CACF4D
analogous
#4D89CF #524DCF #934DCF
triadic
#524DCF #CF524D #4DCF52
tetradic
#524DCF #CF4D89 #CACF4D #4DCF93
square
#524DCF #CF4D89 #CACF4D #4DCF93
split-complementary
#524DCF #CF934D #89CF4D
monochromatic
#26227F #342FAF #524DCF #817DDC #B0ADE9

Accessibility & contrast

On white

6.32
#524DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#524DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DCF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DCF#FFFFFF#000000##FFFFFF
##524DCF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524dcf;
/* rgb */ color: rgb(82, 77, 207);
/* oklch */ color: oklch(50.4% 0.194 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f7fdf',
    500: '#524dcf',
    950: '#000000',
  },
}
SCSS
$custom: #524dcf;
$custom-light: #8f7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#524dcf",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 242.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.1942,
    "h": 278.5
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#524DCF
secondary
#D5D7A1
accent
#E147DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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