#524DEB#524DEB

#524DEB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.229 H 276.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#524DEB
RGBrgb(82, 77, 235)
HSLhsl(242, 80%, 61%)
HSVhsv(242, 67%, 92%)
CMYKcmyk(65.1%, 67.2%, 0%, 7.8%)
CIE-LABlab(42.91, 48.94, -78.90)
CIE-LCHlch(42.91, 92.84, 301.81°)
OKLaboklab(52.84% 0.026 -0.2277)
OKLCHoklch(52.84% 0.229 276.5)
XYZxyz(21.1241, 13.0979, 79.9961)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524DEB #E6EB4D
analogous
#4D97EB #524DEB #A14DEB
triadic
#524DEB #EB524D #4DEB52
tetradic
#524DEB #EB4D97 #E6EB4D #4DEBA1
square
#524DEB #EB4D97 #E6EB4D #4DEBA1
split-complementary
#524DEB #EBA14D #97EB4D
monochromatic
#1813AA #2019E1 #524DEB #8784F1 #BDBBF7

Accessibility & contrast

On white

5.80
#524DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#524DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #524DEB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524DEB#FFFFFF#000000##FFFFFF
##524DEB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#005EE8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #524deb;
/* rgb */ color: rgb(82, 77, 235);
/* oklch */ color: oklch(52.8% 0.229 276.5);
Tailwind
colors: {
  custom: {
    50: '#9480f3',
    500: '#524deb',
    950: '#000000',
  },
}
SCSS
$custom: #524deb;
$custom-light: #9480f3;
$custom-dark: #000000;
JSON
{
  "hex": "#524deb",
  "rgb": {
    "r": 82,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 241.899,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.22922,
    "h": 276.5
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#524DEB
secondary
#E6E8AC
accent
#DC09D5
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #524DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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