#5955CA#5955CA

#5955CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.176 H 279.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5955CA
RGBrgb(89, 85, 202)
HSLhsl(242, 52%, 56%)
HSVhsv(242, 58%, 79%)
CMYKcmyk(55.9%, 57.9%, 0%, 20.8%)
CIE-LABlab(42.59, 34.73, -60.55)
CIE-LCHlch(42.59, 69.81, 299.84°)
OKLaboklab(51.92% 0.0301 -0.1737)
OKLCHoklch(51.92% 0.176 279.8)
XYZxyz(18.0256, 12.8839, 57.4027)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5955CA #C6CA55
analogous
#558CCA #5955CA #9455CA
triadic
#5955CA #CA5955 #55CA59
tetradic
#5955CA #CA558C #C6CA55 #55CA94
square
#5955CA #CA558C #C6CA55 #55CA94
split-complementary
#5955CA #CA9455 #8CCA55
monochromatic
#2A277D #3A36AC #5955CA #8784D9 #B4B2E7

Accessibility & contrast

On white

5.87
#5955CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5955CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5955CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5955CA#FFFFFF#000000##FFFFFF
##5955CA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#1E7187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5955ca;
/* rgb */ color: rgb(89, 85, 202);
/* oklch */ color: oklch(51.9% 0.176 279.8);
Tailwind
colors: {
  custom: {
    50: '#9285db',
    500: '#5955ca',
    950: '#000000',
  },
}
SCSS
$custom: #5955ca;
$custom-light: #9285db;
$custom-dark: #000000;
JSON
{
  "hex": "#5955ca",
  "rgb": {
    "r": 89,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 242.051,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.17626,
    "h": 279.8
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#5955CA
secondary
#D4D5A5
accent
#DC4CD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5955CA

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

Preview Lab → · Contrast checker → · Palette generator →

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