#524FB2#524FB2

#524FB2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.153 H 280.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#524FB2
RGBrgb(82, 79, 178)
HSLhsl(242, 39%, 50%)
HSVhsv(242, 56%, 70%)
CMYKcmyk(53.9%, 55.6%, 0%, 30.2%)
CIE-LABlab(38.90, 29.36, -52.54)
CIE-LCHlch(38.90, 60.19, 299.20°)
OKLaboklab(48.51% 0.0276 -0.1503)
OKLCHoklch(48.51% 0.153 280.4)
XYZxyz(14.3090, 10.5993, 43.4027)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524FB2 #AFB24F
analogous
#4F7DB2 #524FB2 #834FB2
triadic
#524FB2 #B2524F #4FB252
tetradic
#524FB2 #B24F7D #AFB24F #4FB283
square
#524FB2 #B24F7D #AFB24F #4FB283
split-complementary
#524FB2 #B2834F #7DB24F
monochromatic
#2B295E #3E3C88 #524FB2 #7C7AC5 #A6A4D7

Accessibility & contrast

On white

6.73
#524FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#524FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524FB2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524FB2#FFFFFF#000000##FFFFFF
##524FB21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#276679
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #524fb2;
/* rgb */ color: rgb(82, 79, 178);
/* oklch */ color: oklch(48.5% 0.153 280.4);
Tailwind
colors: {
  custom: {
    50: '#8a80ca',
    500: '#524fb2',
    950: '#000000',
  },
}
SCSS
$custom: #524fb2;
$custom-light: #8a80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#524fb2",
  "rgb": {
    "r": 82,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 241.818,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.15285,
    "h": 280.4
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#524FB2
secondary
#C3C498
accent
#CF59CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #524FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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