#5959DE#5959DE

#5959DE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.198 H 277.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5959DE
RGBrgb(89, 89, 222)
HSLhsl(240, 67%, 61%)
HSVhsv(240, 60%, 87%)
CMYKcmyk(59.9%, 59.9%, 0%, 12.9%)
CIE-LABlab(45.00, 38.73, -68.10)
CIE-LCHlch(45.00, 78.34, 299.63°)
OKLaboklab(54.16% 0.0259 -0.1958)
OKLCHoklch(54.16% 0.198 277.5)
XYZxyz(20.8728, 14.5410, 70.7998)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959DE #DEDE59
analogous
#599BDE #5959DE #9B59DE
triadic
#5959DE #DE5959 #59DE59
tetradic
#5959DE #DE599B #DEDE59 #59DE9B
square
#5959DE #DE599B #DEDE59 #59DE9B
split-complementary
#5959DE #DE9B59 #9BDE59
monochromatic
#1F1F9D #2929D0 #5959DE #8C8CE8 #BFBFF2

Accessibility & contrast

On white

5.37
#5959DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5959DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959DE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959DE#FFFFFF#000000##FFFFFF
##5959DE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5959de;
/* rgb */ color: rgb(89, 89, 222);
/* oklch */ color: oklch(54.2% 0.198 277.5);
Tailwind
colors: {
  custom: {
    50: '#9488e9',
    500: '#5959de',
    950: '#000000',
  },
}
SCSS
$custom: #5959de;
$custom-light: #9488e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5959de",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 240,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.19752,
    "h": 277.5
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#5959DE
secondary
#E2E2B0
accent
#CF17CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5959DE

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

Preview Lab → · Contrast checker → · Palette generator →

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