#5961D9#5961D9

#5961D9 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.181 H 275.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5961D9
RGBrgb(89, 97, 217)
HSLhsl(236, 63%, 60%)
HSVhsv(236, 59%, 85%)
CMYKcmyk(59%, 55.3%, 0%, 14.9%)
CIE-LABlab(46.55, 32.23, -62.73)
CIE-LCHlch(46.55, 70.53, 297.20°)
OKLaboklab(55.2% 0.0185 -0.18)
OKLCHoklch(55.2% 0.181 275.9)
XYZxyz(20.9148, 15.6814, 67.5569)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961D9 #D9D159
analogous
#59A1D9 #5961D9 #9159D9
triadic
#5961D9 #D95961 #61D959
tetradic
#5961D9 #D959A1 #D9D159 #59D991
square
#5961D9 #D959A1 #D9D159 #59D991
split-complementary
#5961D9 #D99159 #A1D959
monochromatic
#222995 #2E37C7 #5961D9 #8B90E4 #BDC0F0

Accessibility & contrast

On white

5.08
#5961D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5961D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961D9#FFFFFF#000000##FFFFFF
##5961D91.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5961d9;
/* rgb */ color: rgb(89, 97, 217);
/* oklch */ color: oklch(55.2% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#938de6',
    500: '#5961d9',
    950: '#000000',
  },
}
SCSS
$custom: #5961d9;
$custom-light: #938de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5961d9",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 217
  },
  "hsl": {
    "h": 236.25,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.18092,
    "h": 275.9
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#5961D9
secondary
#E0DCAE
accent
#DC42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5961D9

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

Preview Lab → · Contrast checker → · Palette generator →

#5961D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva