#5955DB#5955DB

#5955DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.199 H 278.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5955DB
RGBrgb(89, 85, 219)
HSLhsl(242, 65%, 60%)
HSVhsv(242, 61%, 86%)
CMYKcmyk(59.4%, 61.2%, 0%, 14.1%)
CIE-LABlab(43.85, 40.17, -68.26)
CIE-LCHlch(43.85, 79.20, 300.48°)
OKLaboklab(53.24% 0.0296 -0.1963)
OKLCHoklch(53.24% 0.199 278.6)
XYZxyz(20.1504, 13.7338, 68.5931)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955DB #D7DB55
analogous
#5594DB #5955DB #9C55DB
triadic
#5955DB #DB5955 #55DB59
tetradic
#5955DB #DB5594 #D7DB55 #55DB9C
square
#5955DB #DB5594 #D7DB55 #55DB9C
split-complementary
#5955DB #DB9C55 #94DB55
monochromatic
#232096 #2F2AC8 #5955DB #8A88E6 #BCBAF0

Accessibility & contrast

On white

5.60
#5955DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5955DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955DB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955DB#FFFFFF#000000##FFFFFF
##5955DB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5955db;
/* rgb */ color: rgb(89, 85, 219);
/* oklch */ color: oklch(53.2% 0.199 278.6);
Tailwind
colors: {
  custom: {
    50: '#9485e7',
    500: '#5955db',
    950: '#000000',
  },
}
SCSS
$custom: #5955db;
$custom-light: #9485e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5955db",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 241.791,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.19855,
    "h": 278.6
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#5955DB
secondary
#DEE0AC
accent
#E840E3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5955DB

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

Preview Lab → · Contrast checker → · Palette generator →

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