#5959DF#5959DF

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

Color values

HEX#5959DF
RGBrgb(89, 89, 223)
HSLhsl(240, 68%, 61%)
HSVhsv(240, 60%, 87%)
CMYKcmyk(60.1%, 60.1%, 0%, 12.5%)
CIE-LABlab(45.07, 39.06, -68.54)
CIE-LCHlch(45.07, 78.89, 299.67°)
OKLaboklab(54.24% 0.0259 -0.1971)
OKLCHoklch(54.24% 0.199 277.5)
XYZxyz(21.0072, 14.5947, 71.5078)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959DF #DFDF59
analogous
#599CDF #5959DF #9C59DF
triadic
#5959DF #DF5959 #59DF59
tetradic
#5959DF #DF599C #DFDF59 #59DF9C
square
#5959DF #DF599C #DFDF59 #59DF9C
split-complementary
#5959DF #DF9C59 #9CDF59
monochromatic
#1F1F9F #2929D2 #5959DF #8C8CE9 #C0C0F3

Accessibility & contrast

On white

5.36
#5959DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5959DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959DF#FFFFFF#000000##FFFFFF
##5959DF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5959df;
/* rgb */ color: rgb(89, 89, 223);
/* oklch */ color: oklch(54.2% 0.199 277.5);
Tailwind
colors: {
  custom: {
    50: '#9588ea',
    500: '#5959df',
    950: '#000000',
  },
}
SCSS
$custom: #5959df;
$custom-light: #9588ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5959df",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.19883,
    "h": 277.5
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#5959DF
secondary
#E3E3B1
accent
#D016D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5959DF

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

Preview Lab → · Contrast checker → · Palette generator →

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