#5959F2#5959F2

#5959F2 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.223 H 276.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5959F2
RGBrgb(89, 89, 242)
HSLhsl(240, 85%, 65%)
HSVhsv(240, 63%, 95%)
CMYKcmyk(63.2%, 63.2%, 0%, 5.1%)
CIE-LABlab(46.55, 45.16, -76.86)
CIE-LCHlch(46.55, 89.15, 300.44°)
OKLaboklab(55.78% 0.0248 -0.2216)
OKLCHoklch(55.78% 0.223 276.4)
XYZxyz(23.7140, 15.6774, 85.7636)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959F2 #F2F259
analogous
#59A6F2 #5959F2 #A659F2
triadic
#5959F2 #F25959 #59F259
tetradic
#5959F2 #F259A6 #F2F259 #59F2A6
square
#5959F2 #F259A6 #F2F259 #59F2A6
split-complementary
#5959F2 #F2A659 #A6F259
monochromatic
#0F0FC1 #2020EE #5959F2 #9292F6 #CBCBFB

Accessibility & contrast

On white

5.08
#5959F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5959F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959F2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959F2#FFFFFF#000000##FFFFFF
##5959F21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#00809D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5959f2;
/* rgb */ color: rgb(89, 89, 242);
/* oklch */ color: oklch(55.8% 0.223 276.4);
Tailwind
colors: {
  custom: {
    50: '#9888f7',
    500: '#5959f2',
    950: '#000000',
  },
}
SCSS
$custom: #5959f2;
$custom-light: #9888f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5959f2",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.22294,
    "h": 276.4
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#5959F2
secondary
#EDEDB9
accent
#E204E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5959F2

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

Preview Lab → · Contrast checker → · Palette generator →

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