#5961CF#5961CF

#5961CF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.167 H 276.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5961CF
RGBrgb(89, 97, 207)
HSLhsl(236, 55%, 58%)
HSVhsv(236, 57%, 81%)
CMYKcmyk(57%, 53.1%, 0%, 18.8%)
CIE-LABlab(45.88, 28.96, -58.11)
CIE-LCHlch(45.88, 64.93, 296.49°)
OKLaboklab(54.48% 0.0181 -0.1664)
OKLCHoklch(54.48% 0.167 276.2)
XYZxyz(19.6534, 15.1768, 60.9132)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961CF #CFC759
analogous
#599CCF #5961CF #8C59CF
triadic
#5961CF #CF5961 #61CF59
tetradic
#5961CF #CF599C #CFC759 #59CF8C
square
#5961CF #CF599C #CFC759 #59CF8C
split-complementary
#5961CF #CF8C59 #9CCF59
monochromatic
#272D87 #353DB6 #5961CF #888EDD #B8BBEA

Accessibility & contrast

On white

5.20
#5961CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5961CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961CF#FFFFFF#000000##FFFFFF
##5961CF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#0F7A8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5961cf;
/* rgb */ color: rgb(89, 97, 207);
/* oklch */ color: oklch(54.5% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#928dde',
    500: '#5961cf',
    950: '#000000',
  },
}
SCSS
$custom: #5961cf;
$custom-light: #928dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5961cf",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 235.932,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.16737,
    "h": 276.2
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#5961CF
secondary
#D9D6AA
accent
#D449DE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5961CF

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

Preview Lab → · Contrast checker → · Palette generator →

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