#524BA2#524BA2

#524BA2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.136 H 283.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#524BA2
RGBrgb(82, 75, 162)
HSLhsl(245, 37%, 46%)
HSVhsv(245, 54%, 64%)
CMYKcmyk(49.4%, 53.7%, 0%, 36.5%)
CIE-LABlab(36.81, 26.76, -46.40)
CIE-LCHlch(36.81, 53.56, 299.97°)
OKLaboklab(46.6% 0.0315 -0.1323)
OKLCHoklch(46.6% 0.136 283.4)
XYZxyz(12.5154, 9.4340, 35.3369)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BA2 #9BA24B
analogous
#4B70A2 #524BA2 #7E4BA2
triadic
#524BA2 #A2524B #4BA252
tetradic
#524BA2 #A24B70 #9BA24B #4BA27E
square
#524BA2 #A24B70 #9BA24B #4BA27E
split-complementary
#524BA2 #A27E4B #70A24B
monochromatic
#28244E #3D3878 #524BA2 #746EBC #9D98CF

Accessibility & contrast

On white

7.27
#524BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#524BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524BA2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BA2#FFFFFF#000000##FFFFFF
##524BA21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#355E6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #524ba2;
/* rgb */ color: rgb(82, 75, 162);
/* oklch */ color: oklch(46.6% 0.136 283.4);
Tailwind
colors: {
  custom: {
    50: '#887dbe',
    500: '#524ba2',
    950: '#000000',
  },
}
SCSS
$custom: #524ba2;
$custom-light: #887dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#524ba2",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 244.828,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46602,
    "c": 0.136,
    "h": 283.4
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#524BA2
secondary
#B8BC8D
accent
#CD5BC4
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #524BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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