#524FA3#524FA3

#524FA3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.132 H 281.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#524FA3
RGBrgb(82, 79, 163)
HSLhsl(242, 35%, 47%)
HSVhsv(242, 52%, 64%)
CMYKcmyk(49.7%, 51.5%, 0%, 36.1%)
CIE-LABlab(37.90, 24.54, -45.25)
CIE-LCHlch(37.90, 51.47, 298.48°)
OKLaboklab(47.44% 0.0268 -0.1289)
OKLCHoklch(47.44% 0.132 281.7)
XYZxyz(12.8845, 10.0295, 35.9002)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FA3 #A0A34F
analogous
#4F76A3 #524FA3 #7C4FA3
triadic
#524FA3 #A3524F #4FA352
tetradic
#524FA3 #A34F76 #A0A34F #4FA37C
square
#524FA3 #A34F76 #A0A34F #4FA37C
split-complementary
#524FA3 #A37C4F #76A34F
monochromatic
#292751 #3D3B7A #524FA3 #7674BB #9F9DCF

Accessibility & contrast

On white

6.99
#524FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#524FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FA3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FA3#FFFFFF#000000##FFFFFF
##524FA31.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA6
Deuteranopia (green-blind)
#2056A1
Tritanopia (blue-blind)
#346171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #524fa3;
/* rgb */ color: rgb(82, 79, 163);
/* oklch */ color: oklch(47.4% 0.132 281.7);
Tailwind
colors: {
  custom: {
    50: '#8880bf',
    500: '#524fa3',
    950: '#000000',
  },
}
SCSS
$custom: #524fa3;
$custom-light: #8880bf;
$custom-dark: #000000;
JSON
{
  "hex": "#524fa3",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 242.143,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47437,
    "c": 0.13164,
    "h": 281.7
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#524FA3
secondary
#BBBC91
accent
#CB5DC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #524FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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