#5959BF#5959BF

#5959BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.156 H 279.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5959BF
RGBrgb(89, 89, 191)
HSLhsl(240, 44%, 55%)
HSVhsv(240, 53%, 75%)
CMYKcmyk(53.4%, 53.4%, 0%, 25.1%)
CIE-LABlab(42.81, 28.75, -53.82)
CIE-LCHlch(42.81, 61.02, 298.11°)
OKLaboklab(51.84% 0.0257 -0.1538)
OKLCHoklch(51.84% 0.156 279.5)
XYZxyz(17.0932, 13.0291, 50.8943)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959BF #BFBF59
analogous
#598CBF #5959BF #8C59BF
triadic
#5959BF #BF5959 #59BF59
tetradic
#5959BF #BF598C #BFBF59 #59BF8C
square
#5959BF #BF598C #BFBF59 #59BF8C
split-complementary
#5959BF #BF8C59 #8CBF59
monochromatic
#2C2C72 #3D3D9E #5959BF #8585D0 #B1B1E1

Accessibility & contrast

On white

5.82
#5959BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5959BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959BF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959BF#FFFFFF#000000##FFFFFF
##5959BF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#0D61BD
Tritanopia (blue-blind)
#2B7083
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5959bf;
/* rgb */ color: rgb(89, 89, 191);
/* oklch */ color: oklch(51.8% 0.156 279.5);
Tailwind
colors: {
  custom: {
    50: '#9088d3',
    500: '#5959bf',
    950: '#000000',
  },
}
SCSS
$custom: #5959bf;
$custom-light: #9088d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5959bf",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.15597,
    "h": 279.5
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#5959BF
secondary
#CFCFA4
accent
#D454D4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5959BF

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

Preview Lab → · Contrast checker → · Palette generator →

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