#5959CE#5959CE

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

Color values

HEX#5959CE
RGBrgb(89, 89, 206)
HSLhsl(240, 54%, 58%)
HSVhsv(240, 57%, 81%)
CMYKcmyk(56.8%, 56.8%, 0%, 19.2%)
CIE-LABlab(43.83, 33.57, -60.84)
CIE-LCHlch(43.83, 69.49, 298.89°)
OKLaboklab(52.93% 0.0261 -0.1745)
OKLCHoklch(52.93% 0.176 278.5)
XYZxyz(18.8292, 13.7235, 60.0372)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959CE #CECE59
analogous
#5993CE #5959CE #9359CE
triadic
#5959CE #CE5959 #59CE59
tetradic
#5959CE #CE5993 #CECE59 #59CE93
square
#5959CE #CE5993 #CECE59 #59CE93
split-complementary
#5959CE #CE9359 #93CE59
monochromatic
#272785 #3535B5 #5959CE #8888DC #B8B8EA

Accessibility & contrast

On white

5.61
#5959CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5959CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959CE#FFFFFF#000000##FFFFFF
##5959CE1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#15748B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5959ce;
/* rgb */ color: rgb(89, 89, 206);
/* oklch */ color: oklch(52.9% 0.176 278.5);
Tailwind
colors: {
  custom: {
    50: '#9288de',
    500: '#5959ce',
    950: '#000000',
  },
}
SCSS
$custom: #5959ce;
$custom-light: #9288de;
$custom-dark: #000000;
JSON
{
  "hex": "#5959ce",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.17642,
    "h": 278.5
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#5959CE
secondary
#D9D9AA
accent
#DE4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5959CE

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

Preview Lab → · Contrast checker → · Palette generator →

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