#5959CC#5959CC

#5959CC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.174 H 278.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5959CC
RGBrgb(89, 89, 204)
HSLhsl(240, 53%, 57%)
HSVhsv(240, 56%, 80%)
CMYKcmyk(56.4%, 56.4%, 0%, 20%)
CIE-LABlab(43.69, 32.93, -59.92)
CIE-LCHlch(43.69, 68.37, 298.79°)
OKLaboklab(52.78% 0.0261 -0.1718)
OKLCHoklch(52.78% 0.174 278.6)
XYZxyz(18.5878, 13.6270, 58.7658)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959CC #CCCC59
analogous
#5993CC #5959CC #9359CC
triadic
#5959CC #CC5959 #59CC59
tetradic
#5959CC #CC5993 #CCCC59 #59CC93
square
#5959CC #CC5993 #CCCC59 #59CC93
split-complementary
#5959CC #CC9359 #93CC59
monochromatic
#282883 #3636B1 #5959CC #8888DA #B7B7E9

Accessibility & contrast

On white

5.64
#5959CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5959CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959CC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959CC#FFFFFF#000000##FFFFFF
##5959CC1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#19748A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5959cc;
/* rgb */ color: rgb(89, 89, 204);
/* oklch */ color: oklch(52.8% 0.174 278.6);
Tailwind
colors: {
  custom: {
    50: '#9288dc',
    500: '#5959cc',
    950: '#000000',
  },
}
SCSS
$custom: #5959cc;
$custom-light: #9288dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5959cc",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.17373,
    "h": 278.6
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#5959CC
secondary
#D8D8A9
accent
#DC4BDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5959CC

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

Preview Lab → · Contrast checker → · Palette generator →

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