#5950DB#5950DB

#5950DB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.205 H 279.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5950DB
RGBrgb(89, 80, 219)
HSLhsl(244, 66%, 59%)
HSVhsv(244, 63%, 86%)
CMYKcmyk(59.4%, 63.5%, 0%, 14.1%)
CIE-LABlab(42.72, 43.13, -70.10)
CIE-LCHlch(42.72, 82.30, 301.61°)
OKLaboklab(52.42% 0.034 -0.2017)
OKLCHoklch(52.42% 0.205 279.6)
XYZxyz(19.7706, 12.9742, 68.4665)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5950DB #D2DB50
analogous
#508CDB #5950DB #9E50DB
triadic
#5950DB #DB5950 #50DB59
tetradic
#5950DB #DB508C #D2DB50 #50DB9E
square
#5950DB #DB508C #D2DB50 #50DB9E
split-complementary
#5950DB #DB9E50 #8CDB50
monochromatic
#261E92 #3329C5 #5950DB #8983E5 #B9B6F0

Accessibility & contrast

On white

5.84
#5950DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5950DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5950DB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5950DB#FFFFFF#000000##FFFFFF
##5950DB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5950db;
/* rgb */ color: rgb(89, 80, 219);
/* oklch */ color: oklch(52.4% 0.205 279.6);
Tailwind
colors: {
  custom: {
    50: '#9582e7',
    500: '#5950db',
    950: '#000000',
  },
}
SCSS
$custom: #5950db;
$custom-light: #9582e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5950db",
  "rgb": {
    "r": 89,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 243.885,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.20458,
    "h": 279.6
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#5950DB
secondary
#DBDFA8
accent
#E93FDE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5950DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5950DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva