#5955CF#5955CF

#5955CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.183 H 279.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5955CF
RGBrgb(89, 85, 207)
HSLhsl(242, 56%, 57%)
HSVhsv(242, 59%, 81%)
CMYKcmyk(57%, 58.9%, 0%, 18.8%)
CIE-LABlab(42.95, 36.33, -62.85)
CIE-LCHlch(42.95, 72.59, 300.03°)
OKLaboklab(52.3% 0.03 -0.1804)
OKLCHoklch(52.3% 0.183 279.5)
XYZxyz(18.6273, 13.1246, 60.5711)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955CF #CBCF55
analogous
#558ECF #5955CF #9655CF
triadic
#5955CF #CF5955 #55CF59
tetradic
#5955CF #CF558E #CBCF55 #55CF96
square
#5955CF #CF558E #CBCF55 #55CF96
split-complementary
#5955CF #CF9655 #8ECF55
monochromatic
#282584 #3733B4 #5955CF #8885DC #B6B4EA

Accessibility & contrast

On white

5.79
#5955CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5955CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955CF#FFFFFF#000000##FFFFFF
##5955CF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#14728A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5955cf;
/* rgb */ color: rgb(89, 85, 207);
/* oklch */ color: oklch(52.3% 0.183 279.5);
Tailwind
colors: {
  custom: {
    50: '#9285de',
    500: '#5955cf',
    950: '#000000',
  },
}
SCSS
$custom: #5955cf;
$custom-light: #9285de;
$custom-dark: #000000;
JSON
{
  "hex": "#5955cf",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 241.967,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.523,
    "c": 0.1829,
    "h": 279.5
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#5955CF
secondary
#D7D9A7
accent
#DF49DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5955CF

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

Preview Lab → · Contrast checker → · Palette generator →

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