#5959E4#5959E4

#5959E4 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.6% C 0.205 H 277.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5959E4
RGBrgb(89, 89, 228)
HSLhsl(240, 72%, 62%)
HSVhsv(240, 61%, 89%)
CMYKcmyk(61%, 61%, 0%, 10.6%)
CIE-LABlab(45.45, 40.67, -70.76)
CIE-LCHlch(45.45, 81.62, 299.89°)
OKLaboklab(54.64% 0.0257 -0.2036)
OKLCHoklch(54.64% 0.205 277.2)
XYZxyz(21.6913, 14.8684, 75.1106)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959E4 #E4E459
analogous
#599FE4 #5959E4 #9F59E4
triadic
#5959E4 #E45959 #59E459
tetradic
#5959E4 #E4599F #E4E459 #59E49F
square
#5959E4 #E4599F #E4E459 #59E49F
split-complementary
#5959E4 #E49F59 #9FE459
monochromatic
#1B1BA7 #2424DB #5959E4 #8E8EED #C2C2F5

Accessibility & contrast

On white

5.28
#5959E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5959E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959E4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959E4#FFFFFF#000000##FFFFFF
##5959E41.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0066E1
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5959e4;
/* rgb */ color: rgb(89, 89, 228);
/* oklch */ color: oklch(54.6% 0.205 277.2);
Tailwind
colors: {
  custom: {
    50: '#9588ed',
    500: '#5959e4',
    950: '#000000',
  },
}
SCSS
$custom: #5959e4;
$custom-light: #9588ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5959e4",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.20526,
    "h": 277.2
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5959E4

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

Preview Lab → · Contrast checker → · Palette generator →

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