#5959CF#5959CF

#5959CF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.178 H 278.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5959CF
RGBrgb(89, 89, 207)
HSLhsl(240, 55%, 58%)
HSVhsv(240, 57%, 81%)
CMYKcmyk(57%, 57%, 0%, 18.8%)
CIE-LABlab(43.90, 33.89, -61.30)
CIE-LCHlch(43.90, 70.05, 298.94°)
OKLaboklab(53.01% 0.0261 -0.1758)
OKLCHoklch(53.01% 0.178 278.4)
XYZxyz(18.9511, 13.7723, 60.6791)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959CF #CFCF59
analogous
#5994CF #5959CF #9459CF
triadic
#5959CF #CF5959 #59CF59
tetradic
#5959CF #CF5994 #CFCF59 #59CF94
square
#5959CF #CF5994 #CFCF59 #59CF94
split-complementary
#5959CF #CF9459 #94CF59
monochromatic
#272787 #3535B6 #5959CF #8888DD #B8B8EA

Accessibility & contrast

On white

5.59
#5959CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5959CF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959CF#FFFFFF#000000##FFFFFF
##5959CF1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#12758B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5959cf;
/* rgb */ color: rgb(89, 89, 207);
/* oklch */ color: oklch(53.0% 0.178 278.4);
Tailwind
colors: {
  custom: {
    50: '#9288de',
    500: '#5959cf',
    950: '#000000',
  },
}
SCSS
$custom: #5959cf;
$custom-light: #9288de;
$custom-dark: #000000;
JSON
{
  "hex": "#5959cf",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.17777,
    "h": 278.4
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5959CF

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

Preview Lab → · Contrast checker → · Palette generator →

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