#5952D8#5952D8

#5952D8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.5% C 0.198 H 279.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5952D8
RGBrgb(89, 82, 216)
HSLhsl(243, 63%, 58%)
HSVhsv(243, 62%, 85%)
CMYKcmyk(58.8%, 62%, 0%, 15.3%)
CIE-LABlab(42.94, 41.00, -68.04)
CIE-LCHlch(42.94, 79.44, 301.08°)
OKLaboklab(52.5% 0.0324 -0.1957)
OKLCHoklch(52.5% 0.198 279.4)
XYZxyz(19.5279, 13.1149, 66.4548)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952D8 #D1D852
analogous
#528ED8 #5952D8 #9C52D8
triadic
#5952D8 #D85952 #52D859
tetradic
#5952D8 #D8528E #D1D852 #52D89C
square
#5952D8 #D8528E #D1D852 #52D89C
split-complementary
#5952D8 #D89C52 #8ED852
monochromatic
#26208F #332CC1 #5952D8 #8984E3 #B9B6EF

Accessibility & contrast

On white

5.80
#5952D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5952D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952D8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952D8#FFFFFF#000000##FFFFFF
##5952D81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5952d8;
/* rgb */ color: rgb(89, 82, 216);
/* oklch */ color: oklch(52.5% 0.198 279.4);
Tailwind
colors: {
  custom: {
    50: '#9483e5',
    500: '#5952d8',
    950: '#000000',
  },
}
SCSS
$custom: #5952d8;
$custom-light: #9483e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5952d8",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 243.134,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.19835,
    "h": 279.4
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#5952D8
secondary
#DBDDA8
accent
#E642DE
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5952D8

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

Preview Lab → · Contrast checker → · Palette generator →

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