#524FCF#524FCF

#524FCF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.192 H 278.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#524FCF
RGBrgb(82, 79, 207)
HSLhsl(241, 57%, 56%)
HSVhsv(241, 62%, 81%)
CMYKcmyk(60.4%, 61.8%, 0%, 18.8%)
CIE-LABlab(41.04, 38.77, -65.98)
CIE-LCHlch(41.04, 76.53, 300.44°)
OKLaboklab(50.76% 0.0271 -0.1898)
OKLCHoklch(50.76% 0.192 278.1)
XYZxyz(17.5345, 11.8895, 60.3903)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FCF #CCCF4F
analogous
#4F8CCF #524FCF #924FCF
triadic
#524FCF #CF524F #4FCF52
tetradic
#524FCF #CF4F8C #CCCF4F #4FCF92
square
#524FCF #CF4F8C #CCCF4F #4FCF92
split-complementary
#524FCF #CF924F #8CCF4F
monochromatic
#252381 #3330B1 #524FCF #817FDC #B1AFE9

Accessibility & contrast

On white

6.22
#524FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#524FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FCF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FCF#FFFFFF#000000##FFFFFF
##524FCF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #524fcf;
/* rgb */ color: rgb(82, 79, 207);
/* oklch */ color: oklch(50.8% 0.192 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f81df',
    500: '#524fcf',
    950: '#000000',
  },
}
SCSS
$custom: #524fcf;
$custom-light: #8f81df;
$custom-dark: #000000;
JSON
{
  "hex": "#524fcf",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 241.406,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.19177,
    "h": 278.1
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#524FCF
secondary
#D6D7A2
accent
#E047DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #524FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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