#524ABC#524ABC

#524ABC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.173 H 280.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#524ABC
RGBrgb(82, 74, 188)
HSLhsl(244, 46%, 51%)
HSVhsv(244, 61%, 74%)
CMYKcmyk(56.4%, 60.6%, 0%, 26.3%)
CIE-LABlab(38.41, 35.68, -59.21)
CIE-LCHlch(38.41, 69.13, 301.07°)
OKLaboklab(48.38% 0.0327 -0.17)
OKLCHoklch(48.38% 0.173 280.9)
XYZxyz(15.0027, 10.3213, 48.7688)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ABC #B4BC4A
analogous
#4A7BBC #524ABC #8B4ABC
triadic
#524ABC #BC524A #4ABC52
tetradic
#524ABC #BC4A7B #B4BC4A #4ABC8B
square
#524ABC #BC4A7B #B4BC4A #4ABC8B
split-complementary
#524ABC #BC8B4A #7BBC4A
monochromatic
#2A2666 #3D3693 #524ABC #7D77CD #A7A3DD

Accessibility & contrast

On white

6.85
#524ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#524ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ABC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ABC#FFFFFF#000000##FFFFFF
##524ABC1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#1B657C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524abc;
/* rgb */ color: rgb(82, 74, 188);
/* oklch */ color: oklch(48.4% 0.173 280.9);
Tailwind
colors: {
  custom: {
    50: '#8c7dd1',
    500: '#524abc',
    950: '#000000',
  },
}
SCSS
$custom: #524abc;
$custom-light: #8c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#524abc",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 244.211,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.1731,
    "h": 280.9
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#524ABC
secondary
#C7CA98
accent
#D652CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #524ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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