#524EAF#524EAF

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

Color values

HEX#524EAF
RGBrgb(82, 78, 175)
HSLhsl(242, 38%, 50%)
HSVhsv(242, 55%, 69%)
CMYKcmyk(53.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(38.44, 29.02, -51.51)
CIE-LCHlch(38.44, 59.12, 299.40°)
OKLaboklab(48.1% 0.0286 -0.1473)
OKLCHoklch(48.1% 0.15 281)
XYZxyz(13.9395, 10.3369, 41.8098)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524EAF #ABAF4E
analogous
#4E7BAF #524EAF #834EAF
triadic
#524EAF #AF524E #4EAF52
tetradic
#524EAF #AF4E7B #ABAF4E #4EAF83
square
#524EAF #AF4E7B #ABAF4E #4EAF83
split-complementary
#524EAF #AF834E #7BAF4E
monochromatic
#2A285A #3E3B85 #524EAF #7B78C3 #A4A2D6

Accessibility & contrast

On white

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

On black

3.07
#524EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##524EAF#FFFFFF#000000##FFFFFF
##524EAF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#2A6477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524eaf;
/* rgb */ color: rgb(82, 78, 175);
/* oklch */ color: oklch(48.1% 0.150 281.0);
Tailwind
colors: {
  custom: {
    50: '#8a7fc7',
    500: '#524eaf',
    950: '#000000',
  },
}
SCSS
$custom: #524eaf;
$custom-light: #8a7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#524eaf",
  "rgb": {
    "r": 82,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 242.474,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.15005,
    "h": 281
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#524EAF
secondary
#C1C396
accent
#CE5AC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #524EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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