#524FB5#524FB5

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

Color values

HEX#524FB5
RGBrgb(82, 79, 181)
HSLhsl(242, 41%, 51%)
HSVhsv(242, 56%, 71%)
CMYKcmyk(54.7%, 56.4%, 0%, 29%)
CIE-LABlab(39.11, 30.33, -53.97)
CIE-LCHlch(39.11, 61.91, 299.34°)
OKLaboklab(48.73% 0.0277 -0.1545)
OKLCHoklch(48.73% 0.157 280.2)
XYZxyz(14.6135, 10.7211, 45.0064)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FB5 #B2B54F
analogous
#4F7FB5 #524FB5 #854FB5
triadic
#524FB5 #B5524F #4FB552
tetradic
#524FB5 #B54F7F #B2B54F #4FB585
square
#524FB5 #B54F7F #B2B54F #4FB585
split-complementary
#524FB5 #B5854F #7FB54F
monochromatic
#2A2961 #3D3B8C #524FB5 #7C7AC7 #A7A5D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##524FB5#FFFFFF#000000##FFFFFF
##524FB51.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)
#0260B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#24677A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524fb5;
/* rgb */ color: rgb(82, 79, 181);
/* oklch */ color: oklch(48.7% 0.157 280.2);
Tailwind
colors: {
  custom: {
    50: '#8b80cc',
    500: '#524fb5',
    950: '#000000',
  },
}
SCSS
$custom: #524fb5;
$custom-light: #8b80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#524fb5",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 241.765,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.157,
    "h": 280.2
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#524FB5
secondary
#C5C699
accent
#D157CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #524FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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