#524FC8#524FC8

#524FC8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.183 H 278.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#524FC8
RGBrgb(82, 79, 200)
HSLhsl(241, 52%, 55%)
HSVhsv(241, 61%, 78%)
CMYKcmyk(59%, 60.5%, 0%, 21.6%)
CIE-LABlab(40.50, 36.50, -62.81)
CIE-LCHlch(40.50, 72.65, 300.16°)
OKLaboklab(50.2% 0.0275 -0.1805)
OKLCHoklch(50.2% 0.183 278.6)
XYZxyz(16.6977, 11.5547, 55.9828)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FC8 #C5C84F
analogous
#4F88C8 #524FC8 #8F4FC8
triadic
#524FC8 #C8524F #4FC852
tetradic
#524FC8 #C84F88 #C5C84F #4FC88F
square
#524FC8 #C84F88 #C5C84F #4FC88F
split-complementary
#524FC8 #C88F4F #88C84F
monochromatic
#272577 #3734A6 #524FC8 #807ED7 #AEACE5

Accessibility & contrast

On white

6.34
#524FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#524FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FC8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FC8#FFFFFF#000000##FFFFFF
##524FC81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #524fc8;
/* rgb */ color: rgb(82, 79, 200);
/* oklch */ color: oklch(50.2% 0.183 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e80da',
    500: '#524fc8',
    950: '#000000',
  },
}
SCSS
$custom: #524fc8;
$custom-light: #8e80da;
$custom-dark: #000000;
JSON
{
  "hex": "#524fc8",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 241.488,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.18261,
    "h": 278.6
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#524FC8
secondary
#D2D3A0
accent
#DC4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #524FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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