#5952E4#5952E4

#5952E4 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.214 H 278.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5952E4
RGBrgb(89, 82, 228)
HSLhsl(243, 73%, 61%)
HSVhsv(243, 64%, 89%)
CMYKcmyk(61%, 64%, 0%, 10.6%)
CIE-LABlab(43.88, 44.80, -73.32)
CIE-LCHlch(43.88, 85.93, 301.43°)
OKLaboklab(53.49% 0.0315 -0.2112)
OKLCHoklch(53.49% 0.214 278.5)
XYZxyz(21.1362, 13.7583, 74.9255)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952E4 #DDE452
analogous
#5294E4 #5952E4 #A252E4
triadic
#5952E4 #E45952 #52E459
tetradic
#5952E4 #E45294 #DDE452 #52E4A2
square
#5952E4 #E45294 #DDE452 #52E4A2
split-complementary
#5952E4 #E4A252 #94E452
monochromatic
#2019A2 #2A22D7 #5952E4 #8C87EC #BFBCF5

Accessibility & contrast

On white

5.60
#5952E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5952E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952E4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952E4#FFFFFF#000000##FFFFFF
##5952E41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5952e4;
/* rgb */ color: rgb(89, 82, 228);
/* oklch */ color: oklch(53.5% 0.214 278.5);
Tailwind
colors: {
  custom: {
    50: '#9683ee',
    500: '#5952e4',
    950: '#000000',
  },
}
SCSS
$custom: #5952e4;
$custom-light: #9683ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5952e4",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 242.877,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.21353,
    "h": 278.5
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#5952E4
secondary
#E2E5AD
accent
#D510CC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5952E4

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

Preview Lab → · Contrast checker → · Palette generator →

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