#524CBB#524CBB

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

Color values

HEX#524CBB
RGBrgb(82, 76, 187)
HSLhsl(243, 45%, 52%)
HSVhsv(243, 59%, 73%)
CMYKcmyk(56.1%, 59.4%, 0%, 26.7%)
CIE-LABlab(38.81, 34.13, -57.97)
CIE-LCHlch(38.81, 67.28, 300.49°)
OKLaboklab(48.65% 0.0308 -0.1663)
OKLCHoklch(48.65% 0.169 280.5)
XYZxyz(15.0310, 10.5496, 48.2483)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524CBB #B5BB4C
analogous
#4C7EBB #524CBB #8A4CBB
triadic
#524CBB #BB524C #4CBB52
tetradic
#524CBB #BB4C7E #B5BB4C #4CBB8A
square
#524CBB #BB4C7E #B5BB4C #4CBB8A
split-complementary
#524CBB #BB8A4C #7EBB4C
monochromatic
#2A2766 #3C3892 #524CBB #7D78CC #A8A5DD

Accessibility & contrast

On white

6.75
#524CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#524CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524CBB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524CBB#FFFFFF#000000##FFFFFF
##524CBB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#1C667C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #524cbb;
/* rgb */ color: rgb(82, 76, 187);
/* oklch */ color: oklch(48.6% 0.169 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c7ed0',
    500: '#524cbb',
    950: '#000000',
  },
}
SCSS
$custom: #524cbb;
$custom-light: #8c7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#524cbb",
  "rgb": {
    "r": 82,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 243.243,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.16916,
    "h": 280.5
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#524CBB
secondary
#C7CA99
accent
#D553CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #524CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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