#5955F3#5955F3

#5955F3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.229 H 277.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5955F3
RGBrgb(89, 85, 243)
HSLhsl(242, 87%, 64%)
HSVhsv(242, 65%, 95%)
CMYKcmyk(63.4%, 65%, 0%, 4.7%)
CIE-LABlab(45.76, 47.81, -78.72)
CIE-LCHlch(45.76, 92.10, 301.27°)
OKLaboklab(55.23% 0.0277 -0.227)
OKLCHoklch(55.23% 0.229 277)
XYZxyz(23.5407, 15.0900, 86.4487)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955F3 #EFF355
analogous
#55A0F3 #5955F3 #A855F3
triadic
#5955F3 #F35955 #55F359
tetradic
#5955F3 #F355A0 #EFF355 #55F3A8
square
#5955F3 #F355A0 #EFF355 #55F3A8
split-complementary
#5955F3 #F3A855 #A0F355
monochromatic
#120EC0 #211CEF #5955F3 #918EF7 #C9C7FB

Accessibility & contrast

On white

5.23
#5955F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5955F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955F3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955F3#FFFFFF#000000##FFFFFF
##5955F31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007E9D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5955f3;
/* rgb */ color: rgb(89, 85, 243);
/* oklch */ color: oklch(55.2% 0.229 277.0);
Tailwind
colors: {
  custom: {
    50: '#9886f8',
    500: '#5955f3',
    950: '#000000',
  },
}
SCSS
$custom: #5955f3;
$custom-light: #9886f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5955f3",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 243
  },
  "hsl": {
    "h": 241.519,
    "s": 86.813,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.22869,
    "h": 277
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#5955F3
secondary
#ECEDB6
accent
#E302DE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5955F3

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

Preview Lab → · Contrast checker → · Palette generator →

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