#5952DF#5952DF

#5952DF is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.207 H 278.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5952DF
RGBrgb(89, 82, 223)
HSLhsl(243, 69%, 60%)
HSVhsv(243, 63%, 87%)
CMYKcmyk(60.1%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.48, 43.22, -71.14)
CIE-LCHlch(43.48, 83.24, 301.28°)
OKLaboklab(53.07% 0.0319 -0.2048)
OKLCHoklch(53.07% 0.207 278.9)
XYZxyz(20.4521, 13.4846, 71.3228)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5952DF #D8DF52
analogous
#5291DF #5952DF #A052DF
triadic
#5952DF #DF5952 #52DF59
tetradic
#5952DF #DF5291 #D8DF52 #52DFA0
square
#5952DF #DF5291 #D8DF52 #52DFA0
split-complementary
#5952DF #DFA052 #91DF52
monochromatic
#231D9A #2E26CE #5952DF #8B86E9 #BCB9F2

Accessibility & contrast

On white

5.68
#5952DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5952DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5952DF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5952DF#FFFFFF#000000##FFFFFF
##5952DF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5952df;
/* rgb */ color: rgb(89, 82, 223);
/* oklch */ color: oklch(53.1% 0.207 278.9);
Tailwind
colors: {
  custom: {
    50: '#9583ea',
    500: '#5952df',
    950: '#000000',
  },
}
SCSS
$custom: #5952df;
$custom-light: #9583ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5952df",
  "rgb": {
    "r": 89,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 242.979,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.20725,
    "h": 278.9
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#5952DF
secondary
#DFE2AB
accent
#EC3CE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5952DF

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

Preview Lab → · Contrast checker → · Palette generator →

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