#524BB6#524BB6

#524BB6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.164 H 281.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#524BB6
RGBrgb(82, 75, 182)
HSLhsl(244, 42%, 50%)
HSVhsv(244, 59%, 71%)
CMYKcmyk(54.9%, 58.8%, 0%, 28.6%)
CIE-LABlab(38.20, 33.14, -56.02)
CIE-LCHlch(38.20, 65.09, 300.61°)
OKLaboklab(48.08% 0.0319 -0.1606)
OKLCHoklch(48.08% 0.164 281.2)
XYZxyz(14.4366, 10.2025, 45.4555)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BB6 #AFB64B
analogous
#4B7AB6 #524BB6 #874BB6
triadic
#524BB6 #B6524B #4BB652
tetradic
#524BB6 #B64B7A #AFB64B #4BB687
square
#524BB6 #B64B7A #AFB64B #4BB687
split-complementary
#524BB6 #B6874B #7AB64B
monochromatic
#2B2760 #3E388B #524BB6 #7C77C8 #A6A2D9

Accessibility & contrast

On white

6.91
#524BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #524BB6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BB6#FFFFFF#000000##FFFFFF
##524BB61.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#236479
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #524bb6;
/* rgb */ color: rgb(82, 75, 182);
/* oklch */ color: oklch(48.1% 0.164 281.2);
Tailwind
colors: {
  custom: {
    50: '#8b7dcd',
    500: '#524bb6',
    950: '#000000',
  },
}
SCSS
$custom: #524bb6;
$custom-light: #8b7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#524bb6",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 243.925,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.16374,
    "h": 281.2
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#524BB6
secondary
#C3C697
accent
#D256CA
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #524BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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