#5959E6#5959E6

#5959E6 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.8% C 0.208 H 277.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5959E6
RGBrgb(89, 89, 230)
HSLhsl(240, 74%, 63%)
HSVhsv(240, 61%, 90%)
CMYKcmyk(61.3%, 61.3%, 0%, 9.8%)
CIE-LABlab(45.61, 41.31, -71.64)
CIE-LCHlch(45.61, 82.70, 299.97°)
OKLaboklab(54.8% 0.0256 -0.2062)
OKLCHoklch(54.8% 0.208 277.1)
XYZxyz(21.9705, 14.9800, 76.5812)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959E6 #E6E659
analogous
#599FE6 #5959E6 #9F59E6
triadic
#5959E6 #E65959 #59E659
tetradic
#5959E6 #E6599F #E6E659 #59E69F
square
#5959E6 #E6599F #E6E659 #59E69F
split-complementary
#5959E6 #E69F59 #9FE659
monochromatic
#1A1AAB #2424DE #5959E6 #8E8EEE #C3C3F6

Accessibility & contrast

On white

5.25
#5959E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5959E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959E6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959E6#FFFFFF#000000##FFFFFF
##5959E61.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5959e6;
/* rgb */ color: rgb(89, 89, 230);
/* oklch */ color: oklch(54.8% 0.208 277.1);
Tailwind
colors: {
  custom: {
    50: '#9688ef',
    500: '#5959e6',
    950: '#000000',
  },
}
SCSS
$custom: #5959e6;
$custom-light: #9688ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5959e6",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.20782,
    "h": 277.1
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#5959E6
secondary
#E7E7B4
accent
#D610D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5959E6

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

Preview Lab → · Contrast checker → · Palette generator →

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