#5952EC#5952EC

#5952EC is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.223 H 277.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5952EC
RGBrgb(89, 82, 236)
HSLhsl(243, 80%, 62%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(62.3%, 65.3%, 0%, 7.5%)
CIE-LABlab(44.54, 47.32, -76.78)
CIE-LCHlch(44.54, 90.19, 301.65°)
OKLaboklab(54.16% 0.0307 -0.2213)
OKLCHoklch(54.16% 0.223 277.9)
XYZxyz(22.2726, 14.2128, 80.9103)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952EC #E5EC52
analogous
#5298EC #5952EC #A652EC
triadic
#5952EC #EC5952 #52EC59
tetradic
#5952EC #EC5298 #E5EC52 #52ECA6
square
#5952EC #EC5298 #E5EC52 #52ECA6
split-complementary
#5952EC #ECA652 #98EC52
monochromatic
#1A13B0 #241BE6 #5952EC #8E89F2 #C3C0F8

Accessibility & contrast

On white

5.46
#5952EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5952EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952EC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952EC#FFFFFF#000000##FFFFFF
##5952EC1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5952ec;
/* rgb */ color: rgb(89, 82, 236);
/* oklch */ color: oklch(54.2% 0.223 277.9);
Tailwind
colors: {
  custom: {
    50: '#9783f3',
    500: '#5952ec',
    950: '#000000',
  },
}
SCSS
$custom: #5952ec;
$custom-light: #9783f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5952ec",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 242.727,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.22346,
    "h": 277.9
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#5952EC
secondary
#E6E9B1
accent
#DD09D3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5952EC

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

Preview Lab → · Contrast checker → · Palette generator →

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