#5952CA#5952CA

#5952CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.180 H 280.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5952CA
RGBrgb(89, 82, 202)
HSLhsl(244, 53%, 56%)
HSVhsv(244, 59%, 79%)
CMYKcmyk(55.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(41.88, 36.56, -61.70)
CIE-LCHlch(41.88, 71.72, 300.65°)
OKLaboklab(51.39% 0.0331 -0.1771)
OKLCHoklch(51.39% 0.18 280.6)
XYZxyz(17.7945, 12.4216, 57.3256)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952CA #C3CA52
analogous
#5287CA #5952CA #9552CA
triadic
#5952CA #CA5952 #52CA59
tetradic
#5952CA #CA5287 #C3CA52 #52CA95
square
#5952CA #CA5287 #C3CA52 #52CA95
split-complementary
#5952CA #CA9552 #87CA52
monochromatic
#2B267C #3B34AB #5952CA #8681D8 #B3B0E7

Accessibility & contrast

On white

6.03
#5952CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5952CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952CA#FFFFFF#000000##FFFFFF
##5952CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#1F6F86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5952ca;
/* rgb */ color: rgb(89, 82, 202);
/* oklch */ color: oklch(51.4% 0.180 280.6);
Tailwind
colors: {
  custom: {
    50: '#9283db',
    500: '#5952ca',
    950: '#000000',
  },
}
SCSS
$custom: #5952ca;
$custom-light: #9283db;
$custom-dark: #000000;
JSON
{
  "hex": "#5952ca",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 243.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.18014,
    "h": 280.6
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#5952CA
secondary
#D2D5A3
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5952CA

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

Preview Lab → · Contrast checker → · Palette generator →

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