#5959CD#5959CD

#5959CD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.175 H 278.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5959CD
RGBrgb(89, 89, 205)
HSLhsl(240, 54%, 58%)
HSVhsv(240, 57%, 80%)
CMYKcmyk(56.6%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.76, 33.25, -60.38)
CIE-LCHlch(43.76, 68.93, 298.84°)
OKLaboklab(52.86% 0.0261 -0.1731)
OKLCHoklch(52.86% 0.175 278.6)
XYZxyz(18.7082, 13.6751, 59.3995)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959CD #CDCD59
analogous
#5993CD #5959CD #9359CD
triadic
#5959CD #CD5959 #59CD59
tetradic
#5959CD #CD5993 #CDCD59 #59CD93
square
#5959CD #CD5993 #CDCD59 #59CD93
split-complementary
#5959CD #CD9359 #93CD59
monochromatic
#282884 #3636B3 #5959CD #8888DB #B7B7E9

Accessibility & contrast

On white

5.62
#5959CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5959CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959CD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959CD#FFFFFF#000000##FFFFFF
##5959CD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#17748A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5959cd;
/* rgb */ color: rgb(89, 89, 205);
/* oklch */ color: oklch(52.9% 0.175 278.6);
Tailwind
colors: {
  custom: {
    50: '#9288dd',
    500: '#5959cd',
    950: '#000000',
  },
}
SCSS
$custom: #5959cd;
$custom-light: #9288dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5959cd",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.17508,
    "h": 278.6
  },
  "luminance": 0.13676
}

Semantic roles & 50–950 ramp

primary
#5959CD
secondary
#D8D8AA
accent
#DD4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5959CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5959CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva