#5952DC#5952DC

#5952DC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.8% C 0.203 H 279.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5952DC
RGBrgb(89, 82, 220)
HSLhsl(243, 66%, 59%)
HSVhsv(243, 63%, 86%)
CMYKcmyk(59.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(43.25, 42.27, -69.81)
CIE-LCHlch(43.25, 81.61, 301.19°)
OKLaboklab(52.83% 0.0322 -0.2009)
OKLCHoklch(52.83% 0.203 279.1)
XYZxyz(20.0513, 13.3243, 69.2115)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952DC #D5DC52
analogous
#5290DC #5952DC #9E52DC
triadic
#5952DC #DC5952 #52DC59
tetradic
#5952DC #DC5290 #D5DC52 #52DC9E
square
#5952DC #DC5290 #D5DC52 #52DC9E
split-complementary
#5952DC #DC9E52 #90DC52
monochromatic
#241E95 #3129C8 #5952DC #8A85E6 #BBB8F1

Accessibility & contrast

On white

5.73
#5952DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5952DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952DC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952DC#FFFFFF#000000##FFFFFF
##5952DC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5952dc;
/* rgb */ color: rgb(89, 82, 220);
/* oklch */ color: oklch(52.8% 0.203 279.1);
Tailwind
colors: {
  custom: {
    50: '#9583e8',
    500: '#5952dc',
    950: '#000000',
  },
}
SCSS
$custom: #5952dc;
$custom-light: #9583e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5952dc",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 243.043,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.20346,
    "h": 279.1
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#5952DC
secondary
#DDE0AA
accent
#E93FE1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5952DC

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

Preview Lab → · Contrast checker → · Palette generator →

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