#5961E5#5961E5

#5961E5 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.1% C 0.197 H 275.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5961E5
RGBrgb(89, 97, 229)
HSLhsl(237, 73%, 62%)
HSVhsv(237, 61%, 90%)
CMYKcmyk(61.1%, 57.6%, 0%, 10.2%)
CIE-LABlab(47.40, 36.17, -68.16)
CIE-LCHlch(47.40, 77.16, 297.95°)
OKLaboklab(56.1% 0.0186 -0.1959)
OKLCHoklch(56.1% 0.197 275.4)
XYZxyz(22.5328, 16.3286, 76.0779)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961E5 #E5DD59
analogous
#59A7E5 #5961E5 #9759E5
triadic
#5961E5 #E55961 #61E559
tetradic
#5961E5 #E559A7 #E5DD59 #59E597
square
#5961E5 #E559A7 #E5DD59 #59E597
split-complementary
#5961E5 #E59759 #A7E559
monochromatic
#1A23A9 #242FDD #5961E5 #8E93ED #C3C6F6

Accessibility & contrast

On white

4.92
#5961E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5961E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961E5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961E5#FFFFFF#000000##FFFFFF
##5961E51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5961e5;
/* rgb */ color: rgb(89, 97, 229);
/* oklch */ color: oklch(56.1% 0.197 275.4);
Tailwind
colors: {
  custom: {
    50: '#958eee',
    500: '#5961e5',
    950: '#000000',
  },
}
SCSS
$custom: #5961e5;
$custom-light: #958eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5961e5",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 236.571,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.19681,
    "h": 275.4
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#5961E5
secondary
#E6E4B3
accent
#CA10D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5961E5

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

Preview Lab → · Contrast checker → · Palette generator →

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