#5952CB#5952CB

#5952CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.181 H 280.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5952CB
RGBrgb(89, 82, 203)
HSLhsl(243, 54%, 56%)
HSVhsv(243, 60%, 80%)
CMYKcmyk(56.2%, 59.6%, 0%, 20.4%)
CIE-LABlab(41.95, 36.88, -62.16)
CIE-LCHlch(41.95, 72.28, 300.68°)
OKLaboklab(51.47% 0.0331 -0.1784)
OKLCHoklch(51.47% 0.181 280.5)
XYZxyz(17.9132, 12.4691, 57.9512)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952CB #C4CB52
analogous
#5287CB #5952CB #9552CB
triadic
#5952CB #CB5952 #52CB59
tetradic
#5952CB #CB5287 #C4CB52 #52CB95
square
#5952CB #CB5287 #C4CB52 #52CB95
split-complementary
#5952CB #CB9552 #87CB52
monochromatic
#2B267D #3B34AC #5952CB #8681D9 #B3B0E7

Accessibility & contrast

On white

6.01
#5952CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5952CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952CB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952CB#FFFFFF#000000##FFFFFF
##5952CB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#1D6F86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5952cb;
/* rgb */ color: rgb(89, 82, 203);
/* oklch */ color: oklch(51.5% 0.181 280.5);
Tailwind
colors: {
  custom: {
    50: '#9283dc',
    500: '#5952cb',
    950: '#000000',
  },
}
SCSS
$custom: #5952cb;
$custom-light: #9283dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5952cb",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 243.471,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.18146,
    "h": 280.5
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#5952CB
secondary
#D3D5A3
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5952CB

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

Preview Lab → · Contrast checker → · Palette generator →

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