#5952FF#5952FF

#5952FF is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.8% C 0.246 H 276.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5952FF
RGBrgb(89, 82, 255)
HSLhsl(242, 100%, 66%)
HSVhsv(242, 68%, 100%)
CMYKcmyk(65.1%, 67.8%, 0%, 0%)
CIE-LABlab(46.15, 53.26, -84.78)
CIE-LCHlch(46.15, 100.13, 302.14°)
OKLaboklab(55.82% 0.0284 -0.2448)
OKLCHoklch(55.82% 0.246 276.6)
XYZxyz(25.1812, 15.3763, 96.2293)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952FF #F8FF52
analogous
#52A1FF #5952FF #AF52FF
triadic
#5952FF #FF5952 #52FF59
tetradic
#5952FF #FF52A1 #F8FF52 #52FFAF
square
#5952FF #FF52A1 #F8FF52 #52FFAF
split-complementary
#5952FF #FFAF52 #A1FF52
monochromatic
#0900D7 #1E15FF #5952FF #948FFF #CECCFF

Accessibility & contrast

On white

5.15
#5952FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5952FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952FF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952FF#FFFFFF#000000##FFFFFF
##5952FF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0066FC
Tritanopia (blue-blind)
#0081A2
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5952ff;
/* rgb */ color: rgb(89, 82, 255);
/* oklch */ color: oklch(55.8% 0.246 276.6);
Tailwind
colors: {
  custom: {
    50: '#9b84ff',
    500: '#5952ff',
    950: '#000000',
  },
}
SCSS
$custom: #5952ff;
$custom-light: #9b84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5952ff",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 242.428,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.24642,
    "h": 276.6
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#5952FF
secondary
#F1F3BA
accent
#E600DC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5952FF

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

Preview Lab → · Contrast checker → · Palette generator →

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