#524BC4#524BC4

#524BC4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.2% C 0.182 H 279.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#524BC4
RGBrgb(82, 75, 196)
HSLhsl(243, 51%, 53%)
HSVhsv(243, 62%, 77%)
CMYKcmyk(58.2%, 61.7%, 0%, 23.1%)
CIE-LABlab(39.26, 37.64, -62.51)
CIE-LCHlch(39.26, 72.96, 301.06°)
OKLaboklab(49.19% 0.0314 -0.1797)
OKLCHoklch(49.19% 0.182 279.9)
XYZxyz(15.9564, 10.8104, 53.4596)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BC4 #BDC44B
analogous
#4B80C4 #524BC4 #8E4BC4
triadic
#524BC4 #C4524B #4BC452
tetradic
#524BC4 #C44B80 #BDC44B #4BC48E
square
#524BC4 #C44B80 #BDC44B #4BC48E
split-complementary
#524BC4 #C48E4B #80C44B
monochromatic
#292570 #3A349E #524BC4 #7E79D3 #ABA7E2

Accessibility & contrast

On white

6.64
#524BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#524BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BC4
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BC4#FFFFFF#000000##FFFFFF
##524BC41.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#066980
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524bc4;
/* rgb */ color: rgb(82, 75, 196);
/* oklch */ color: oklch(49.2% 0.182 279.9);
Tailwind
colors: {
  custom: {
    50: '#8d7ed7',
    500: '#524bc4',
    950: '#000000',
  },
}
SCSS
$custom: #524bc4;
$custom-light: #8d7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#524bc4",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 243.471,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.18238,
    "h": 279.9
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#524BC4
secondary
#CCCF9B
accent
#DA4ED2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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