#5959AE#5959AE

#5959AE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.132 H 280.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5959AE
RGBrgb(89, 89, 174)
HSLhsl(240, 34%, 52%)
HSVhsv(240, 49%, 68%)
CMYKcmyk(48.9%, 48.9%, 0%, 31.8%)
CIE-LABlab(41.73, 23.35, -45.61)
CIE-LCHlch(41.73, 51.23, 297.11°)
OKLaboklab(50.68% 0.0243 -0.1297)
OKLCHoklch(50.68% 0.132 280.6)
XYZxyz(15.3299, 12.3238, 41.6072)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959AE #AEAE59
analogous
#5984AE #5959AE #8459AE
triadic
#5959AE #AE5959 #59AE59
tetradic
#5959AE #AE5984 #AEAE59 #59AE84
square
#5959AE #AE5984 #AEAE59 #59AE84
split-complementary
#5959AE #AE8459 #84AE59
monochromatic
#2E2E5E #424288 #5959AE #8282C2 #ABABD6

Accessibility & contrast

On white

6.06
#5959AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5959AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959AE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959AE#FFFFFF#000000##FFFFFF
##5959AE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#3A6B7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5959ae;
/* rgb */ color: rgb(89, 89, 174);
/* oklch */ color: oklch(50.7% 0.132 280.6);
Tailwind
colors: {
  custom: {
    50: '#8d87c7',
    500: '#5959ae',
    950: '#000000',
  },
}
SCSS
$custom: #5959ae;
$custom-light: #8d87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5959ae",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5068,
    "c": 0.13194,
    "h": 280.6
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#5959AE
secondary
#C4C49F
accent
#CA5DCA
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5959AE

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

Preview Lab → · Contrast checker → · Palette generator →

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