#5961E6#5961E6

#5961E6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.198 H 275.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5961E6
RGBrgb(89, 97, 230)
HSLhsl(237, 74%, 63%)
HSVhsv(237, 61%, 90%)
CMYKcmyk(61.3%, 57.8%, 0%, 9.8%)
CIE-LABlab(47.48, 36.49, -68.60)
CIE-LCHlch(47.48, 77.71, 298.01°)
OKLaboklab(56.18% 0.0186 -0.1972)
OKLCHoklch(56.18% 0.198 275.4)
XYZxyz(22.6728, 16.3846, 76.8153)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961E6 #E6DE59
analogous
#59A7E6 #5961E6 #9859E6
triadic
#5961E6 #E65961 #61E659
tetradic
#5961E6 #E659A7 #E6DE59 #59E698
square
#5961E6 #E659A7 #E6DE59 #59E698
split-complementary
#5961E6 #E69859 #A7E659
monochromatic
#1A22AB #242EDE #5961E6 #8E94EE #C3C6F6

Accessibility & contrast

On white

4.91
#5961E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5961E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961E6#FFFFFF#000000##FFFFFF
##5961E61.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5961e6;
/* rgb */ color: rgb(89, 97, 230);
/* oklch */ color: oklch(56.2% 0.198 275.4);
Tailwind
colors: {
  custom: {
    50: '#958eef',
    500: '#5961e6',
    950: '#000000',
  },
}
SCSS
$custom: #5961e6;
$custom-light: #958eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5961e6",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 236.596,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.19813,
    "h": 275.4
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

primary
#5961E6
secondary
#E7E4B4
accent
#CB10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5961E6

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

Preview Lab → · Contrast checker → · Palette generator →

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