#5952BD#5952BD

#5952BD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.163 H 281.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5952BD
RGBrgb(89, 82, 189)
HSLhsl(244, 45%, 53%)
HSVhsv(244, 57%, 74%)
CMYKcmyk(52.9%, 56.6%, 0%, 25.9%)
CIE-LABlab(40.95, 32.44, -55.66)
CIE-LCHlch(40.95, 64.42, 300.24°)
OKLaboklab(50.41% 0.0332 -0.1593)
OKLCHoklch(50.41% 0.163 281.8)
XYZxyz(16.3196, 11.8316, 49.5580)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952BD #B6BD52
analogous
#5280BD #5952BD #8E52BD
triadic
#5952BD #BD5952 #52BD59
tetradic
#5952BD #BD5280 #B6BD52 #52BD8E
square
#5952BD #BD5280 #B6BD52 #52BD8E
split-complementary
#5952BD #BD8E52 #80BD52
monochromatic
#2D296C #403A98 #5952BD #847ECE #AEABDF

Accessibility & contrast

On white

6.24
#5952BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5952BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952BD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952BD#FFFFFF#000000##FFFFFF
##5952BD1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#2F6B7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5952bd;
/* rgb */ color: rgb(89, 82, 189);
/* oklch */ color: oklch(50.4% 0.163 281.8);
Tailwind
colors: {
  custom: {
    50: '#9083d2',
    500: '#5952bd',
    950: '#000000',
  },
}
SCSS
$custom: #5952bd;
$custom-light: #9083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5952bd",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 243.925,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.16272,
    "h": 281.8
  },
  "luminance": 0.11833
}

Semantic roles & 50–950 ramp

primary
#5952BD
secondary
#C9CC9E
accent
#D453CC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5952BD

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

Preview Lab → · Contrast checker → · Palette generator →

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