#5959E7#5959E7

#5959E7 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.209 H 277.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5959E7
RGBrgb(89, 89, 231)
HSLhsl(240, 75%, 63%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(61.5%, 61.5%, 0%, 9.4%)
CIE-LABlab(45.68, 41.63, -72.08)
CIE-LCHlch(45.68, 83.24, 300.01°)
OKLaboklab(54.88% 0.0255 -0.2075)
OKLCHoklch(54.88% 0.209 277)
XYZxyz(22.1113, 15.0364, 77.3229)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959E7 #E7E759
analogous
#59A0E7 #5959E7 #A059E7
triadic
#5959E7 #E75959 #59E759
tetradic
#5959E7 #E759A0 #E7E759 #59E7A0
square
#5959E7 #E759A0 #E7E759 #59E7A0
split-complementary
#5959E7 #E7A059 #A0E759
monochromatic
#1919AD #2424DF #5959E7 #8E8EEF #C4C4F6

Accessibility & contrast

On white

5.24
#5959E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5959E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959E7#FFFFFF#000000##FFFFFF
##5959E71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5959e7;
/* rgb */ color: rgb(89, 89, 231);
/* oklch */ color: oklch(54.9% 0.209 277.0);
Tailwind
colors: {
  custom: {
    50: '#9688f0',
    500: '#5959e7',
    950: '#000000',
  },
}
SCSS
$custom: #5959e7;
$custom-light: #9688f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5959e7",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.20909,
    "h": 277
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#5959E7
secondary
#E8E8B4
accent
#D70FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5959E7

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

Preview Lab → · Contrast checker → · Palette generator →

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