#5959AF#5959AF

#5959AF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.133 H 280.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5959AF
RGBrgb(89, 89, 175)
HSLhsl(240, 35%, 52%)
HSVhsv(240, 49%, 69%)
CMYKcmyk(49.1%, 49.1%, 0%, 31.4%)
CIE-LABlab(41.79, 23.66, -46.10)
CIE-LCHlch(41.79, 51.82, 297.17°)
OKLaboklab(50.75% 0.0244 -0.1311)
OKLCHoklch(50.75% 0.133 280.5)
XYZxyz(15.4277, 12.3629, 42.1225)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959AF #AFAF59
analogous
#5984AF #5959AF #8459AF
triadic
#5959AF #AF5959 #59AF59
tetradic
#5959AF #AF5984 #AFAF59 #59AF84
square
#5959AF #AF5984 #AFAF59 #59AF84
split-complementary
#5959AF #AF8459 #84AF59
monochromatic
#2E2E60 #424289 #5959AF #8282C3 #ACACD7

Accessibility & contrast

On white

6.05
#5959AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5959AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959AF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959AF#FFFFFF#000000##FFFFFF
##5959AF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#396B7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5959af;
/* rgb */ color: rgb(89, 89, 175);
/* oklch */ color: oklch(50.7% 0.133 280.5);
Tailwind
colors: {
  custom: {
    50: '#8d87c7',
    500: '#5959af',
    950: '#000000',
  },
}
SCSS
$custom: #5959af;
$custom-light: #8d87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5959af",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.13337,
    "h": 280.5
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#5959AF
secondary
#C5C59F
accent
#CB5DCB
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5959AF

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

Preview Lab → · Contrast checker → · Palette generator →

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