#5959D6#5959D6

#5959D6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.187 H 278.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5959D6
RGBrgb(89, 89, 214)
HSLhsl(240, 60%, 59%)
HSVhsv(240, 58%, 84%)
CMYKcmyk(58.4%, 58.4%, 0%, 16.1%)
CIE-LABlab(44.41, 36.15, -64.50)
CIE-LCHlch(44.41, 73.94, 299.27°)
OKLaboklab(53.54% 0.0261 -0.1852)
OKLCHoklch(53.54% 0.187 278)
XYZxyz(19.8259, 14.1222, 65.2864)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959D6 #D6D659
analogous
#5998D6 #5959D6 #9859D6
triadic
#5959D6 #D65959 #59D659
tetradic
#5959D6 #D65998 #D6D659 #59D698
square
#5959D6 #D65998 #D6D659 #59D698
split-complementary
#5959D6 #D69859 #98D659
monochromatic
#242491 #3030C2 #5959D6 #8A8AE2 #BBBBEE

Accessibility & contrast

On white

5.49
#5959D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5959D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959D6
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959D6#FFFFFF#000000##FFFFFF
##5959D61.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5959d6;
/* rgb */ color: rgb(89, 89, 214);
/* oklch */ color: oklch(53.5% 0.187 278.0);
Tailwind
colors: {
  custom: {
    50: '#9388e3',
    500: '#5959d6',
    950: '#000000',
  },
}
SCSS
$custom: #5959d6;
$custom-light: #9388e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5959d6",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 214
  },
  "hsl": {
    "h": 240,
    "s": 60.386,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.18707,
    "h": 278
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#5959D6
secondary
#DEDEAD
accent
#E444E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5959D6

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

Preview Lab → · Contrast checker → · Palette generator →

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