#524FBD#524FBD

#524FBD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.168 H 279.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#524FBD
RGBrgb(82, 79, 189)
HSLhsl(242, 45%, 53%)
HSVhsv(242, 58%, 74%)
CMYKcmyk(56.6%, 58.2%, 0%, 25.9%)
CIE-LABlab(39.68, 32.93, -57.74)
CIE-LCHlch(39.68, 66.47, 299.70°)
OKLaboklab(49.34% 0.0277 -0.1656)
OKLCHoklch(49.34% 0.168 279.5)
XYZxyz(15.4581, 11.0589, 49.4543)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FBD #BABD4F
analogous
#4F83BD #524FBD #894FBD
triadic
#524FBD #BD524F #4FBD52
tetradic
#524FBD #BD4F83 #BABD4F #4FBD89
square
#524FBD #BD4F83 #BABD4F #4FBD89
split-complementary
#524FBD #BD894F #83BD4F
monochromatic
#2A286A #3B3896 #524FBD #7E7CCE #AAA8DE

Accessibility & contrast

On white

6.54
#524FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#524FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FBD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FBD#FFFFFF#000000##FFFFFF
##524FBD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#18697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #524fbd;
/* rgb */ color: rgb(82, 79, 189);
/* oklch */ color: oklch(49.3% 0.168 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c80d2',
    500: '#524fbd',
    950: '#000000',
  },
}
SCSS
$custom: #524fbd;
$custom-light: #8c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#524fbd",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 241.636,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.16792,
    "h": 279.5
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#524FBD
secondary
#CACC9C
accent
#D553D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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