#5959EA#5959EA

#5959EA is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.213 H 276.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5959EA
RGBrgb(89, 89, 234)
HSLhsl(240, 78%, 63%)
HSVhsv(240, 62%, 92%)
CMYKcmyk(62%, 62%, 0%, 8.2%)
CIE-LABlab(45.92, 42.60, -73.40)
CIE-LCHlch(45.92, 84.86, 300.13°)
OKLaboklab(55.12% 0.0253 -0.2114)
OKLCHoklch(55.12% 0.213 276.8)
XYZxyz(22.5387, 15.2073, 79.5735)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959EA #EAEA59
analogous
#59A1EA #5959EA #A159EA
triadic
#5959EA #EA5959 #59EA59
tetradic
#5959EA #EA59A1 #EAEA59 #59EAA1
square
#5959EA #EA59A1 #EAEA59 #59EAA1
split-complementary
#5959EA #EAA159 #A1EA59
monochromatic
#1717B2 #2323E3 #5959EA #8F8FF1 #C6C6F8

Accessibility & contrast

On white

5.20
#5959EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5959EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959EA#FFFFFF#000000##FFFFFF
##5959EA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5959ea;
/* rgb */ color: rgb(89, 89, 234);
/* oklch */ color: oklch(55.1% 0.213 276.8);
Tailwind
colors: {
  custom: {
    50: '#9688f2',
    500: '#5959ea',
    950: '#000000',
  },
}
SCSS
$custom: #5959ea;
$custom-light: #9688f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5959ea",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.2129,
    "h": 276.8
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#5959EA
secondary
#E9E9B6
accent
#DA0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5959EA

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

Preview Lab → · Contrast checker → · Palette generator →

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