#524AAF#524AAF

#524AAF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.156 H 282.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#524AAF
RGBrgb(82, 74, 175)
HSLhsl(245, 41%, 49%)
HSVhsv(245, 58%, 69%)
CMYKcmyk(53.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(37.46, 31.52, -53.10)
CIE-LCHlch(37.46, 61.75, 300.69°)
OKLaboklab(47.37% 0.033 -0.152)
OKLCHoklch(47.37% 0.156 282.3)
XYZxyz(13.6640, 9.7858, 41.7180)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524AAF #A7AF4A
analogous
#4A75AF #524AAF #854AAF
triadic
#524AAF #AF524A #4AAF52
tetradic
#524AAF #AF4A75 #A7AF4A #4AAF85
square
#524AAF #AF4A75 #A7AF4A #4AAF85
split-complementary
#524AAF #AF854A #75AF4A
monochromatic
#2A2659 #3E3884 #524AAF #7973C4 #A29ED6

Accessibility & contrast

On white

7.10
#524AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#524AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524AAF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524AAF#FFFFFF#000000##FFFFFF
##524AAF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#2B6175
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #524aaf;
/* rgb */ color: rgb(82, 74, 175);
/* oklch */ color: oklch(47.4% 0.156 282.3);
Tailwind
colors: {
  custom: {
    50: '#8a7dc8',
    500: '#524aaf',
    950: '#000000',
  },
}
SCSS
$custom: #524aaf;
$custom-light: #8a7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#524aaf",
  "rgb": {
    "r": 82,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 244.752,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.15555,
    "h": 282.3
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#524AAF
secondary
#BFC292
accent
#D057C7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #524AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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