#5959CA#5959CA

#5959CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.171 H 278.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5959CA
RGBrgb(89, 89, 202)
HSLhsl(240, 52%, 57%)
HSVhsv(240, 56%, 79%)
CMYKcmyk(55.9%, 55.9%, 0%, 20.8%)
CIE-LABlab(43.55, 32.28, -58.99)
CIE-LCHlch(43.55, 67.25, 298.69°)
OKLaboklab(52.63% 0.0261 -0.169)
OKLCHoklch(52.63% 0.171 278.8)
XYZxyz(18.3495, 13.5316, 57.5106)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959CA #CACA59
analogous
#5992CA #5959CA #9259CA
triadic
#5959CA #CA5959 #59CA59
tetradic
#5959CA #CA5992 #CACA59 #59CA92
square
#5959CA #CA5992 #CACA59 #59CA92
split-complementary
#5959CA #CA9259 #92CA59
monochromatic
#292980 #3838AE #5959CA #8787D9 #B6B6E8

Accessibility & contrast

On white

5.67
#5959CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5959CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959CA#FFFFFF#000000##FFFFFF
##5959CA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#1D7389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5959ca;
/* rgb */ color: rgb(89, 89, 202);
/* oklch */ color: oklch(52.6% 0.171 278.8);
Tailwind
colors: {
  custom: {
    50: '#9188db',
    500: '#5959ca',
    950: '#000000',
  },
}
SCSS
$custom: #5959ca;
$custom-light: #9188db;
$custom-dark: #000000;
JSON
{
  "hex": "#5959ca",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.17104,
    "h": 278.8
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#5959CA
secondary
#D6D6A8
accent
#DB4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5959CA

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

Preview Lab → · Contrast checker → · Palette generator →

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