#5961CD#5961CD

#5961CD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.165 H 276.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5961CD
RGBrgb(89, 97, 205)
HSLhsl(236, 54%, 58%)
HSVhsv(236, 57%, 80%)
CMYKcmyk(56.6%, 52.7%, 0%, 19.6%)
CIE-LABlab(45.74, 28.31, -57.18)
CIE-LCHlch(45.74, 63.80, 296.34°)
OKLaboklab(54.33% 0.0179 -0.1636)
OKLCHoklch(54.33% 0.165 276.3)
XYZxyz(19.4104, 15.0796, 59.6336)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961CD #CDC559
analogous
#599BCD #5961CD #8B59CD
triadic
#5961CD #CD5961 #61CD59
tetradic
#5961CD #CD599B #CDC559 #59CD8B
square
#5961CD #CD599B #CDC559 #59CD8B
split-complementary
#5961CD #CD8B59 #9BCD59
monochromatic
#282E84 #363FB3 #5961CD #888EDB #B7BBE9

Accessibility & contrast

On white

5.23
#5961CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5961CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961CD#FFFFFF#000000##FFFFFF
##5961CD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#0168CB
Tritanopia (blue-blind)
#147A8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5961cd;
/* rgb */ color: rgb(89, 97, 205);
/* oklch */ color: oklch(54.3% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#918ddd',
    500: '#5961cd',
    950: '#000000',
  },
}
SCSS
$custom: #5961cd;
$custom-light: #918ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5961cd",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 235.862,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.16462,
    "h": 276.3
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#5961CD
secondary
#D8D5AA
accent
#D34BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5961CD

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

Preview Lab → · Contrast checker → · Palette generator →

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