#5952EB#5952EB

#5952EB is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.222 H 278.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5952EB
RGBrgb(89, 82, 235)
HSLhsl(243, 79%, 62%)
HSVhsv(243, 65%, 92%)
CMYKcmyk(62.1%, 65.1%, 0%, 7.8%)
CIE-LABlab(44.45, 47.01, -76.35)
CIE-LCHlch(44.45, 89.66, 301.62°)
OKLaboklab(54.08% 0.0308 -0.2201)
OKLCHoklch(54.08% 0.222 278)
XYZxyz(22.1277, 14.1548, 80.1472)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952EB #E4EB52
analogous
#5298EB #5952EB #A652EB
triadic
#5952EB #EB5952 #52EB59
tetradic
#5952EB #EB5298 #E4EB52 #52EBA6
square
#5952EB #EB5298 #E4EB52 #52EBA6
split-complementary
#5952EB #EBA652 #98EB52
monochromatic
#1B14AE #241BE5 #5952EB #8E89F1 #C2C0F8

Accessibility & contrast

On white

5.48
#5952EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5952EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952EB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952EB#FFFFFF#000000##FFFFFF
##5952EB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5952eb;
/* rgb */ color: rgb(89, 82, 235);
/* oklch */ color: oklch(54.1% 0.222 278.0);
Tailwind
colors: {
  custom: {
    50: '#9783f3',
    500: '#5952eb',
    950: '#000000',
  },
}
SCSS
$custom: #5952eb;
$custom-light: #9783f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5952eb",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 242.745,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.22222,
    "h": 278
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#5952EB
secondary
#E6E8B0
accent
#DC0AD2
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5952EB

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

Preview Lab → · Contrast checker → · Palette generator →

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