#524FCA#524FCA

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

Color values

HEX#524FCA
RGBrgb(82, 79, 202)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 61%, 79%)
CMYKcmyk(59.4%, 60.9%, 0%, 20.8%)
CIE-LABlab(40.65, 37.15, -63.72)
CIE-LCHlch(40.65, 73.76, 300.24°)
OKLaboklab(50.36% 0.0274 -0.1832)
OKLCHoklch(50.36% 0.185 278.5)
XYZxyz(16.9329, 11.6488, 57.2218)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FCA #C7CA4F
analogous
#4F8ACA #524FCA #8F4FCA
triadic
#524FCA #CA524F #4FCA52
tetradic
#524FCA #CA4F8A #C7CA4F #4FCA8F
square
#524FCA #CA4F8A #C7CA4F #4FCA8F
split-complementary
#524FCA #CA8F4F #8ACA4F
monochromatic
#27257A #3633A9 #524FCA #807ED8 #AEADE6

Accessibility & contrast

On white

6.31
#524FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#524FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FCA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FCA#FFFFFF#000000##FFFFFF
##524FCA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #524fca;
/* rgb */ color: rgb(82, 79, 202);
/* oklch */ color: oklch(50.4% 0.185 278.5);
Tailwind
colors: {
  custom: {
    50: '#8e80db',
    500: '#524fca',
    950: '#000000',
  },
}
SCSS
$custom: #524fca;
$custom-light: #8e80db;
$custom-dark: #000000;
JSON
{
  "hex": "#524fca",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 241.463,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.18524,
    "h": 278.5
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#524FCA
secondary
#D3D4A1
accent
#DD4BDA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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