#5959F3#5959F3

#5959F3 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.224 H 276.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5959F3
RGBrgb(89, 89, 243)
HSLhsl(240, 87%, 65%)
HSVhsv(240, 63%, 95%)
CMYKcmyk(63.4%, 63.4%, 0%, 4.7%)
CIE-LABlab(46.63, 45.48, -77.29)
CIE-LCHlch(46.63, 89.68, 300.48°)
OKLaboklab(55.86% 0.0247 -0.2228)
OKLCHoklch(55.86% 0.224 276.3)
XYZxyz(23.8646, 15.7377, 86.5567)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959F3 #F3F359
analogous
#59A6F3 #5959F3 #A659F3
triadic
#5959F3 #F35959 #59F359
tetradic
#5959F3 #F359A6 #F3F359 #59F3A6
square
#5959F3 #F359A6 #F3F359 #59F3A6
split-complementary
#5959F3 #F3A659 #A6F359
monochromatic
#0E0EC3 #2020EF #5959F3 #9292F7 #CBCBFB

Accessibility & contrast

On white

5.06
#5959F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5959F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959F3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959F3#FFFFFF#000000##FFFFFF
##5959F31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#0068F0
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5959f3;
/* rgb */ color: rgb(89, 89, 243);
/* oklch */ color: oklch(55.9% 0.224 276.3);
Tailwind
colors: {
  custom: {
    50: '#9888f8',
    500: '#5959f3',
    950: '#000000',
  },
}
SCSS
$custom: #5959f3;
$custom-light: #9888f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5959f3",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.22418,
    "h": 276.3
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#5959F3
secondary
#EEEEBA
accent
#E302E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5959F3

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

Preview Lab → · Contrast checker → · Palette generator →

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