#524ABA#524ABA

#524ABA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.170 H 281.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#524ABA
RGBrgb(82, 74, 186)
HSLhsl(244, 45%, 51%)
HSVhsv(244, 60%, 73%)
CMYKcmyk(55.9%, 60.2%, 0%, 27.1%)
CIE-LABlab(38.26, 35.04, -58.28)
CIE-LCHlch(38.26, 68.00, 301.01°)
OKLaboklab(48.22% 0.0328 -0.1672)
OKLCHoklch(48.22% 0.17 281.1)
XYZxyz(14.7886, 10.2356, 47.6412)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524ABA #B2BA4A
analogous
#4A7ABA #524ABA #8A4ABA
triadic
#524ABA #BA524A #4ABA52
tetradic
#524ABA #BA4A7A #B2BA4A #4ABA8A
square
#524ABA #BA4A7A #B2BA4A #4ABA8A
split-complementary
#524ABA #BA8A4A #7ABA4A
monochromatic
#2A2664 #3D3790 #524ABA #7C76CB #A7A3DC

Accessibility & contrast

On white

6.89
#524ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#524ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524ABA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524ABA#FFFFFF#000000##FFFFFF
##524ABA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#1E657B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524aba;
/* rgb */ color: rgb(82, 74, 186);
/* oklch */ color: oklch(48.2% 0.170 281.1);
Tailwind
colors: {
  custom: {
    50: '#8c7dd0',
    500: '#524aba',
    950: '#000000',
  },
}
SCSS
$custom: #524aba;
$custom-light: #8c7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#524aba",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 244.286,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.17044,
    "h": 281.1
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#524ABA
secondary
#C5C997
accent
#D553CB
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #524ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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