#524BB5#524BB5

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

Color values

HEX#524BB5
RGBrgb(82, 75, 181)
HSLhsl(244, 42%, 50%)
HSVhsv(244, 59%, 71%)
CMYKcmyk(54.7%, 58.6%, 0%, 29%)
CIE-LABlab(38.13, 32.82, -55.55)
CIE-LCHlch(38.13, 64.52, 300.57°)
OKLaboklab(48.01% 0.0319 -0.1592)
OKLCHoklch(48.01% 0.162 281.3)
XYZxyz(14.3337, 10.1613, 44.9131)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BB5 #AEB54B
analogous
#4B79B5 #524BB5 #874BB5
triadic
#524BB5 #B5524B #4BB552
tetradic
#524BB5 #B54B79 #AEB54B #4BB587
square
#524BB5 #B54B79 #AEB54B #4BB587
split-complementary
#524BB5 #B5874B #79B54B
monochromatic
#2B275F #3E398A #524BB5 #7C76C7 #A5A2D9

Accessibility & contrast

On white

6.93
#524BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#524BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BB5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BB5#FFFFFF#000000##FFFFFF
##524BB51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#246478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524bb5;
/* rgb */ color: rgb(82, 75, 181);
/* oklch */ color: oklch(48.0% 0.162 281.3);
Tailwind
colors: {
  custom: {
    50: '#8b7dcc',
    500: '#524bb5',
    950: '#000000',
  },
}
SCSS
$custom: #524bb5;
$custom-light: #8b7dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#524bb5",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 243.962,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.16239,
    "h": 281.3
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#524BB5
secondary
#C2C696
accent
#D256C9
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #524BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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