#5959E5#5959E5

#5959E5 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.7% C 0.207 H 277.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5959E5
RGBrgb(89, 89, 229)
HSLhsl(240, 73%, 62%)
HSVhsv(240, 61%, 90%)
CMYKcmyk(61.1%, 61.1%, 0%, 10.2%)
CIE-LABlab(45.53, 40.99, -71.20)
CIE-LCHlch(45.53, 82.16, 299.93°)
OKLaboklab(54.72% 0.0256 -0.2049)
OKLCHoklch(54.72% 0.207 277.1)
XYZxyz(21.8305, 14.9240, 75.8438)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959E5 #E5E559
analogous
#599FE5 #5959E5 #9F59E5
triadic
#5959E5 #E55959 #59E559
tetradic
#5959E5 #E5599F #E5E559 #59E59F
square
#5959E5 #E5599F #E5E559 #59E59F
split-complementary
#5959E5 #E59F59 #9FE559
monochromatic
#1A1AA9 #2424DD #5959E5 #8E8EED #C3C3F6

Accessibility & contrast

On white

5.27
#5959E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5959E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959E5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959E5#FFFFFF#000000##FFFFFF
##5959E51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5959e5;
/* rgb */ color: rgb(89, 89, 229);
/* oklch */ color: oklch(54.7% 0.207 277.1);
Tailwind
colors: {
  custom: {
    50: '#9688ee',
    500: '#5959e5',
    950: '#000000',
  },
}
SCSS
$custom: #5959e5;
$custom-light: #9688ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5959e5",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.20654,
    "h": 277.1
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#5959E5
secondary
#E6E6B3
accent
#D510D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5959E5

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

Preview Lab → · Contrast checker → · Palette generator →

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