#5952CE#5952CE

#5952CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.185 H 280.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5952CE
RGBrgb(89, 82, 206)
HSLhsl(243, 56%, 56%)
HSVhsv(243, 60%, 81%)
CMYKcmyk(56.8%, 60.2%, 0%, 19.2%)
CIE-LABlab(42.17, 37.83, -63.53)
CIE-LCHlch(42.17, 73.94, 300.77°)
OKLaboklab(51.71% 0.033 -0.1824)
OKLCHoklch(51.71% 0.185 280.2)
XYZxyz(18.2742, 12.6134, 59.8522)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952CE #C7CE52
analogous
#5289CE #5952CE #9752CE
triadic
#5952CE #CE5952 #52CE59
tetradic
#5952CE #CE5289 #C7CE52 #52CE97
square
#5952CE #CE5289 #C7CE52 #52CE97
split-complementary
#5952CE #CE9752 #89CE52
monochromatic
#2A2581 #3932B1 #5952CE #8782DC #B5B1E9

Accessibility & contrast

On white

5.96
#5952CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5952CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952CE#FFFFFF#000000##FFFFFF
##5952CE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#177088
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5952ce;
/* rgb */ color: rgb(89, 82, 206);
/* oklch */ color: oklch(51.7% 0.185 280.2);
Tailwind
colors: {
  custom: {
    50: '#9283de',
    500: '#5952ce',
    950: '#000000',
  },
}
SCSS
$custom: #5952ce;
$custom-light: #9283de;
$custom-dark: #000000;
JSON
{
  "hex": "#5952ce",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 243.387,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.18539,
    "h": 280.2
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5952CE

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

Preview Lab → · Contrast checker → · Palette generator →

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