#5959CB#5959CB

#5959CB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.172 H 278.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5959CB
RGBrgb(89, 89, 203)
HSLhsl(240, 52%, 57%)
HSVhsv(240, 56%, 80%)
CMYKcmyk(56.2%, 56.2%, 0%, 20.4%)
CIE-LABlab(43.62, 32.60, -59.45)
CIE-LCHlch(43.62, 67.81, 298.74°)
OKLaboklab(52.71% 0.0261 -0.1704)
OKLCHoklch(52.71% 0.172 278.7)
XYZxyz(18.4683, 13.5792, 58.1362)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959CB #CBCB59
analogous
#5992CB #5959CB #9259CB
triadic
#5959CB #CB5959 #59CB59
tetradic
#5959CB #CB5992 #CBCB59 #59CB92
square
#5959CB #CB5992 #CBCB59 #59CB92
split-complementary
#5959CB #CB9259 #92CB59
monochromatic
#282881 #3737B0 #5959CB #8888DA #B6B6E8

Accessibility & contrast

On white

5.65
#5959CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5959CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959CB#FFFFFF#000000##FFFFFF
##5959CB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#1B7489
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5959cb;
/* rgb */ color: rgb(89, 89, 203);
/* oklch */ color: oklch(52.7% 0.172 278.7);
Tailwind
colors: {
  custom: {
    50: '#9188dc',
    500: '#5959cb',
    950: '#000000',
  },
}
SCSS
$custom: #5959cb;
$custom-light: #9188dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5959cb",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.17238,
    "h": 278.7
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#5959CB
secondary
#D7D7A9
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5959CB

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

Preview Lab → · Contrast checker → · Palette generator →

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