#5959E1#5959E1

#5959E1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.201 H 277.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5959E1
RGBrgb(89, 89, 225)
HSLhsl(240, 69%, 62%)
HSVhsv(240, 60%, 88%)
CMYKcmyk(60.4%, 60.4%, 0%, 11.8%)
CIE-LABlab(45.23, 39.70, -69.43)
CIE-LCHlch(45.23, 79.98, 299.76°)
OKLaboklab(54.4% 0.0258 -0.1997)
OKLCHoklch(54.4% 0.201 277.4)
XYZxyz(21.2784, 14.7032, 72.9363)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959E1 #E1E159
analogous
#599DE1 #5959E1 #9D59E1
triadic
#5959E1 #E15959 #59E159
tetradic
#5959E1 #E1599D #E1E159 #59E19D
square
#5959E1 #E1599D #E1E159 #59E19D
split-complementary
#5959E1 #E19D59 #9DE159
monochromatic
#1D1DA2 #2727D6 #5959E1 #8D8DEA #C1C1F4

Accessibility & contrast

On white

5.33
#5959E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5959E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959E1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959E1#FFFFFF#000000##FFFFFF
##5959E11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5959e1;
/* rgb */ color: rgb(89, 89, 225);
/* oklch */ color: oklch(54.4% 0.201 277.4);
Tailwind
colors: {
  custom: {
    50: '#9588eb',
    500: '#5959e1',
    950: '#000000',
  },
}
SCSS
$custom: #5959e1;
$custom-light: #9588eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5959e1",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 240,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.20141,
    "h": 277.4
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#5959E1
secondary
#E4E4B2
accent
#D114D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5959E1

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

Preview Lab → · Contrast checker → · Palette generator →

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