#5959C8#5959C8

#5959C8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.168 H 278.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5959C8
RGBrgb(89, 89, 200)
HSLhsl(240, 50%, 57%)
HSVhsv(240, 56%, 78%)
CMYKcmyk(55.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(43.42, 31.64, -58.06)
CIE-LCHlch(43.42, 66.12, 298.59°)
OKLaboklab(52.49% 0.026 -0.1663)
OKLCHoklch(52.49% 0.168 278.9)
XYZxyz(18.1142, 13.4375, 56.2716)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959C8 #C8C859
analogous
#5991C8 #5959C8 #9159C8
triadic
#5959C8 #C85959 #59C859
tetradic
#5959C8 #C85991 #C8C859 #59C891
square
#5959C8 #C85991 #C8C859 #59C891
split-complementary
#5959C8 #C89159 #91C859
monochromatic
#29297D #3939AB #5959C8 #8787D7 #B5B5E6

Accessibility & contrast

On white

5.69
#5959C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5959C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959C8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959C8#FFFFFF#000000##FFFFFF
##5959C81.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076BCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#207388
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5959c8;
/* rgb */ color: rgb(89, 89, 200);
/* oklch */ color: oklch(52.5% 0.168 278.9);
Tailwind
colors: {
  custom: {
    50: '#9188d9',
    500: '#5959c8',
    950: '#000000',
  },
}
SCSS
$custom: #5959c8;
$custom-light: #9188d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5959c8",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.16832,
    "h": 278.9
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#5959C8
secondary
#D5D5A8
accent
#DA4EDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5959C8

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

Preview Lab → · Contrast checker → · Palette generator →

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