#5952D7#5952D7

#5952D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.197 H 279.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5952D7
RGBrgb(89, 82, 215)
HSLhsl(243, 62%, 58%)
HSVhsv(243, 62%, 84%)
CMYKcmyk(58.6%, 61.9%, 0%, 15.7%)
CIE-LABlab(42.86, 40.68, -67.59)
CIE-LCHlch(42.86, 78.89, 301.05°)
OKLaboklab(52.42% 0.0325 -0.1944)
OKLCHoklch(52.42% 0.197 279.5)
XYZxyz(19.3990, 13.0634, 65.7760)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952D7 #D0D752
analogous
#528DD7 #5952D7 #9B52D7
triadic
#5952D7 #D75952 #52D759
tetradic
#5952D7 #D7528D #D0D752 #52D79B
square
#5952D7 #D7528D #D0D752 #52D79B
split-complementary
#5952D7 #D79B52 #8DD752
monochromatic
#27218E #342CC0 #5952D7 #8984E2 #B8B5EE

Accessibility & contrast

On white

5.81
#5952D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5952D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952D7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952D7#FFFFFF#000000##FFFFFF
##5952D71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5952d7;
/* rgb */ color: rgb(89, 82, 215);
/* oklch */ color: oklch(52.4% 0.197 279.5);
Tailwind
colors: {
  custom: {
    50: '#9483e4',
    500: '#5952d7',
    950: '#000000',
  },
}
SCSS
$custom: #5952d7;
$custom-light: #9483e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5952d7",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 243.158,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.19707,
    "h": 279.5
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#5952D7
secondary
#DADDA8
accent
#E642DD
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5952D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5952D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva