#524FA8#524FA8

#524FA8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.139 H 281.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#524FA8
RGBrgb(82, 79, 168)
HSLhsl(242, 36%, 48%)
HSVhsv(242, 53%, 66%)
CMYKcmyk(51.2%, 53%, 0%, 34.1%)
CIE-LABlab(38.22, 26.14, -47.70)
CIE-LCHlch(38.22, 54.40, 298.72°)
OKLaboklab(47.79% 0.0272 -0.1361)
OKLCHoklch(47.79% 0.139 281.3)
XYZxyz(13.3414, 10.2122, 38.3064)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FA8 #A5A84F
analogous
#4F78A8 #524FA8 #7E4FA8
triadic
#524FA8 #A8524F #4FA852
tetradic
#524FA8 #A84F78 #A5A84F #4FA87E
square
#524FA8 #A84F78 #A5A84F #4FA87E
split-complementary
#524FA8 #A87E4F #78A84F
monochromatic
#292855 #3E3B7E #524FA8 #7876BE #A19FD2

Accessibility & contrast

On white

6.90
#524FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#524FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FA8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FA8#FFFFFF#000000##FFFFFF
##524FA81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#1857A6
Tritanopia (blue-blind)
#306374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524fa8;
/* rgb */ color: rgb(82, 79, 168);
/* oklch */ color: oklch(47.8% 0.139 281.3);
Tailwind
colors: {
  custom: {
    50: '#8980c2',
    500: '#524fa8',
    950: '#000000',
  },
}
SCSS
$custom: #524fa8;
$custom-light: #8980c2;
$custom-dark: #000000;
JSON
{
  "hex": "#524fa8",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 242.022,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.13879,
    "h": 281.3
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#524FA8
secondary
#BEBF94
accent
#CC5CC8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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