#524BEB#524BEB

#524BEB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.231 H 276.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#524BEB
RGBrgb(82, 75, 235)
HSLhsl(243, 80%, 61%)
HSVhsv(243, 68%, 92%)
CMYKcmyk(65.1%, 68.1%, 0%, 7.8%)
CIE-LABlab(42.49, 50.07, -79.58)
CIE-LCHlch(42.49, 94.02, 302.18°)
OKLaboklab(52.54% 0.0274 -0.2297)
OKLCHoklch(52.54% 0.231 276.8)
XYZxyz(20.9863, 12.8224, 79.9502)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524BEB #E4EB4B
analogous
#4B94EB #524BEB #A24BEB
triadic
#524BEB #EB524B #4BEB52
tetradic
#524BEB #EB4B94 #E4EB4B #4BEBA2
square
#524BEB #EB4B94 #E4EB4B #4BEBA2
split-complementary
#524BEB #EBA24B #94EB4B
monochromatic
#1913A9 #2219E0 #524BEB #8782F1 #BCB9F7

Accessibility & contrast

On white

5.89
#524BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#524BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524BEB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524BEB#FFFFFF#000000##FFFFFF
##524BEB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#005DE8
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #524beb;
/* rgb */ color: rgb(82, 75, 235);
/* oklch */ color: oklch(52.5% 0.231 276.8);
Tailwind
colors: {
  custom: {
    50: '#947ff3',
    500: '#524beb',
    950: '#000000',
  },
}
SCSS
$custom: #524beb;
$custom-light: #947ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#524beb",
  "rgb": {
    "r": 82,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 242.625,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.23137,
    "h": 276.8
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#524BEB
secondary
#E5E7AB
accent
#DC09D3
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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