#5959FA#5959FA

#5959FA is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.233 H 275.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5959FA
RGBrgb(89, 89, 250)
HSLhsl(240, 94%, 66%)
HSVhsv(240, 64%, 98%)
CMYKcmyk(64.4%, 64.4%, 0%, 2%)
CIE-LABlab(47.19, 47.72, -80.28)
CIE-LCHlch(47.19, 93.39, 300.73°)
OKLaboklab(56.45% 0.0241 -0.2316)
OKLCHoklch(56.45% 0.233 275.9)
XYZxyz(24.9419, 16.1686, 92.2304)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959FA #FAFA59
analogous
#59AAFA #5959FA #AA59FA
triadic
#5959FA #FA5959 #59FA59
tetradic
#5959FA #FA59AA #FAFA59 #59FAAA
square
#5959FA #FA59AA #FAFA59 #59FAAA
split-complementary
#5959FA #FAAA59 #AAFA59
monochromatic
#0606D2 #1E1EF8 #5959FA #9494FC #D0D0FE

Accessibility & contrast

On white

4.96
#5959FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5959FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959FA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959FA#FFFFFF#000000##FFFFFF
##5959FA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0069F7
Tritanopia (blue-blind)
#0083A2
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5959fa;
/* rgb */ color: rgb(89, 89, 250);
/* oklch */ color: oklch(56.5% 0.233 275.9);
Tailwind
colors: {
  custom: {
    50: '#9988fd',
    500: '#5959fa',
    950: '#000000',
  },
}
SCSS
$custom: #5959fa;
$custom-light: #9988fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5959fa",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.23283,
    "h": 275.9
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#5959FA
secondary
#F1F1BD
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5959FA

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

Preview Lab → · Contrast checker → · Palette generator →

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