#524CBF#524CBF

#524CBF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.175 H 280.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#524CBF
RGBrgb(82, 76, 191)
HSLhsl(243, 47%, 52%)
HSVhsv(243, 60%, 75%)
CMYKcmyk(57.1%, 60.2%, 0%, 25.1%)
CIE-LABlab(39.11, 35.42, -59.83)
CIE-LCHlch(39.11, 69.53, 300.63°)
OKLaboklab(48.96% 0.0307 -0.1718)
OKLCHoklch(48.96% 0.175 280.1)
XYZxyz(15.4651, 10.7233, 50.5350)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CBF #B9BF4C
analogous
#4C80BF #524CBF #8B4CBF
triadic
#524CBF #BF524C #4CBF52
tetradic
#524CBF #BF4C80 #B9BF4C #4CBF8B
square
#524CBF #BF4C80 #B9BF4C #4CBF8B
split-complementary
#524CBF #BF8B4C #80BF4C
monochromatic
#2A266B #3B3698 #524CBF #7E79CF #A9A6DF

Accessibility & contrast

On white

6.68
#524CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#524CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CBF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CBF#FFFFFF#000000##FFFFFF
##524CBF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#15687E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524cbf;
/* rgb */ color: rgb(82, 76, 191);
/* oklch */ color: oklch(49.0% 0.175 280.1);
Tailwind
colors: {
  custom: {
    50: '#8d7ed3',
    500: '#524cbf',
    950: '#000000',
  },
}
SCSS
$custom: #524cbf;
$custom-light: #8d7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#524cbf",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 243.13,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48962,
    "c": 0.17451,
    "h": 280.1
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#524CBF
secondary
#CACC9A
accent
#D751D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #524CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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