#5952C8#5952C8

#5952C8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.177 H 280.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5952C8
RGBrgb(89, 82, 200)
HSLhsl(244, 52%, 55%)
HSVhsv(244, 59%, 78%)
CMYKcmyk(55.5%, 59%, 0%, 21.6%)
CIE-LABlab(41.73, 35.92, -60.79)
CIE-LCHlch(41.73, 70.61, 300.58°)
OKLaboklab(51.24% 0.0332 -0.1744)
OKLCHoklch(51.24% 0.177 280.8)
XYZxyz(17.5592, 12.3274, 56.0865)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952C8 #C1C852
analogous
#5286C8 #5952C8 #9452C8
triadic
#5952C8 #C85952 #52C859
tetradic
#5952C8 #C85286 #C1C852 #52C894
square
#5952C8 #C85286 #C1C852 #52C894
split-complementary
#5952C8 #C89452 #86C852
monochromatic
#2B2779 #3C35A8 #5952C8 #8680D7 #B2AFE6

Accessibility & contrast

On white

6.06
#5952C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5952C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952C8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952C8#FFFFFF#000000##FFFFFF
##5952C81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#226E85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5952c8;
/* rgb */ color: rgb(89, 82, 200);
/* oklch */ color: oklch(51.2% 0.177 280.8);
Tailwind
colors: {
  custom: {
    50: '#9183da',
    500: '#5952c8',
    950: '#000000',
  },
}
SCSS
$custom: #5952c8;
$custom-light: #9183da;
$custom-dark: #000000;
JSON
{
  "hex": "#5952c8",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 243.559,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.17749,
    "h": 280.8
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#5952C8
secondary
#D1D4A2
accent
#DB4DD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5952C8

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

Preview Lab → · Contrast checker → · Palette generator →

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