#5952CD#5952CD

#5952CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.184 H 280.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5952CD
RGBrgb(89, 82, 205)
HSLhsl(243, 55%, 56%)
HSVhsv(243, 60%, 80%)
CMYKcmyk(56.6%, 60%, 0%, 19.6%)
CIE-LABlab(42.10, 37.51, -63.08)
CIE-LCHlch(42.10, 73.39, 300.74°)
OKLaboklab(51.63% 0.033 -0.1811)
OKLCHoklch(51.63% 0.184 280.3)
XYZxyz(18.1531, 12.5650, 59.2145)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952CD #C6CD52
analogous
#5289CD #5952CD #9752CD
triadic
#5952CD #CD5952 #52CD59
tetradic
#5952CD #CD5289 #C6CD52 #52CD97
square
#5952CD #CD5289 #C6CD52 #52CD97
split-complementary
#5952CD #CD9752 #89CD52
monochromatic
#2A2580 #3A33AF #5952CD #8781DB #B4B1E8

Accessibility & contrast

On white

5.98
#5952CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5952CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952CD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952CD#FFFFFF#000000##FFFFFF
##5952CD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#197088
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5952cd;
/* rgb */ color: rgb(89, 82, 205);
/* oklch */ color: oklch(51.6% 0.184 280.3);
Tailwind
colors: {
  custom: {
    50: '#9283dd',
    500: '#5952cd',
    950: '#000000',
  },
}
SCSS
$custom: #5952cd;
$custom-light: #9283dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5952cd",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 243.415,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.18408,
    "h": 280.3
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#5952CD
secondary
#D4D7A4
accent
#DE49D6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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