#5952EA#5952EA

#5952EA is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.221 H 278.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5952EA
RGBrgb(89, 82, 234)
HSLhsl(243, 78%, 62%)
HSVhsv(243, 65%, 92%)
CMYKcmyk(62%, 65%, 0%, 8.2%)
CIE-LABlab(44.37, 46.69, -75.92)
CIE-LCHlch(44.37, 89.13, 301.59°)
OKLaboklab(53.99% 0.0309 -0.2188)
OKLCHoklch(53.99% 0.221 278)
XYZxyz(21.9836, 14.0972, 79.3885)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952EA #E3EA52
analogous
#5297EA #5952EA #A552EA
triadic
#5952EA #EA5952 #52EA59
tetradic
#5952EA #EA5297 #E3EA52 #52EAA5
square
#5952EA #EA5297 #E3EA52 #52EAA5
split-complementary
#5952EA #EAA552 #97EA52
monochromatic
#1C15AD #251CE3 #5952EA #8D89F1 #C2BFF7

Accessibility & contrast

On white

5.50
#5952EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5952EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952EA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952EA#FFFFFF#000000##FFFFFF
##5952EA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5952ea;
/* rgb */ color: rgb(89, 82, 234);
/* oklch */ color: oklch(54.0% 0.221 278.0);
Tailwind
colors: {
  custom: {
    50: '#9783f2',
    500: '#5952ea',
    950: '#000000',
  },
}
SCSS
$custom: #5952ea;
$custom-light: #9783f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5952ea",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 242.763,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53994,
    "c": 0.22099,
    "h": 278
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#5952EA
secondary
#E5E8B0
accent
#DB0BD1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5952EA

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

Preview Lab → · Contrast checker → · Palette generator →

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