#5952E7#5952E7

#5952E7 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.217 H 278.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5952E7
RGBrgb(89, 82, 231)
HSLhsl(243, 76%, 61%)
HSVhsv(243, 65%, 91%)
CMYKcmyk(61.5%, 64.5%, 0%, 9.4%)
CIE-LABlab(44.13, 45.75, -74.63)
CIE-LCHlch(44.13, 87.53, 301.51°)
OKLaboklab(53.74% 0.0312 -0.215)
OKLCHoklch(53.74% 0.217 278.3)
XYZxyz(21.5563, 13.9263, 77.1379)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952E7 #E0E752
analogous
#5296E7 #5952E7 #A452E7
triadic
#5952E7 #E75952 #52E759
tetradic
#5952E7 #E75296 #E0E752 #52E7A4
square
#5952E7 #E75296 #E0E752 #52E7A4
split-complementary
#5952E7 #E7A452 #96E752
monochromatic
#1E17A7 #281FDD #5952E7 #8D88EE #C0BDF6

Accessibility & contrast

On white

5.55
#5952E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5952E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952E7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952E7#FFFFFF#000000##FFFFFF
##5952E71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5952e7;
/* rgb */ color: rgb(89, 82, 231);
/* oklch */ color: oklch(53.7% 0.217 278.3);
Tailwind
colors: {
  custom: {
    50: '#9683f0',
    500: '#5952e7',
    950: '#000000',
  },
}
SCSS
$custom: #5952e7;
$custom-light: #9683f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5952e7",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 242.819,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.21727,
    "h": 278.3
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#5952E7
secondary
#E4E6AF
accent
#D80ECE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5952E7

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

Preview Lab → · Contrast checker → · Palette generator →

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