#5959FE#5959FE

#5959FE is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.8% C 0.238 H 275.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5959FE
RGBrgb(89, 89, 254)
HSLhsl(240, 99%, 67%)
HSVhsv(240, 65%, 100%)
CMYKcmyk(65%, 65%, 0%, 0.4%)
CIE-LABlab(47.52, 48.99, -81.97)
CIE-LCHlch(47.52, 95.49, 300.87°)
OKLaboklab(56.79% 0.0237 -0.2365)
OKLCHoklch(56.79% 0.238 275.7)
XYZxyz(25.5757, 16.4221, 95.5687)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959FE #FEFE59
analogous
#59ACFE #5959FE #AC59FE
triadic
#5959FE #FE5959 #59FE59
tetradic
#5959FE #FE59AC #FEFE59 #59FEAC
square
#5959FE #FE59AC #FEFE59 #59FEAC
split-complementary
#5959FE #FEAC59 #ACFE59
monochromatic
#0101DB #1C1CFE #5959FE #9696FE #D3D3FF

Accessibility & contrast

On white

4.90
#5959FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5959FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959FE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959FE#FFFFFF#000000##FFFFFF
##5959FE1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0069FB
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5959fe;
/* rgb */ color: rgb(89, 89, 254);
/* oklch */ color: oklch(56.8% 0.238 275.7);
Tailwind
colors: {
  custom: {
    50: '#9a89ff',
    500: '#5959fe',
    950: '#000000',
  },
}
SCSS
$custom: #5959fe;
$custom-light: #9a89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5959fe",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 240,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.23772,
    "h": 275.7
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#5959FE
secondary
#F3F3BF
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5959FE

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

Preview Lab → · Contrast checker → · Palette generator →

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