#524BBD#524BBD

#524BBD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.173 H 280.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#524BBD
RGBrgb(82, 75, 189)
HSLhsl(244, 46%, 52%)
HSVhsv(244, 60%, 74%)
CMYKcmyk(56.6%, 60.3%, 0%, 25.9%)
CIE-LABlab(38.72, 35.39, -59.29)
CIE-LCHlch(38.72, 69.05, 300.83°)
OKLaboklab(48.63% 0.0317 -0.1702)
OKLCHoklch(48.63% 0.173 280.5)
XYZxyz(15.1782, 10.4991, 49.3610)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BBD #B6BD4B
analogous
#4B7DBD #524BBD #8B4BBD
triadic
#524BBD #BD524B #4BBD52
tetradic
#524BBD #BD4B7D #B6BD4B #4BBD8B
square
#524BBD #BD4B7D #B6BD4B #4BBD8B
split-complementary
#524BBD #BD8B4B #7DBD4B
monochromatic
#2A2668 #3C3694 #524BBD #7D78CD #A8A5DE

Accessibility & contrast

On white

6.77
#524BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#524BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BBD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BBD#FFFFFF#000000##FFFFFF
##524BBD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#19667D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #524bbd;
/* rgb */ color: rgb(82, 75, 189);
/* oklch */ color: oklch(48.6% 0.173 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c7dd2',
    500: '#524bbd',
    950: '#000000',
  },
}
SCSS
$custom: #524bbd;
$custom-light: #8c7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#524bbd",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 243.684,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.17314,
    "h": 280.5
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#524BBD
secondary
#C8CB99
accent
#D652CE
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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