#5961E4#5961E4

#5961E4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.196 H 275.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5961E4
RGBrgb(89, 97, 228)
HSLhsl(237, 72%, 62%)
HSVhsv(237, 61%, 89%)
CMYKcmyk(61%, 57.5%, 0%, 10.6%)
CIE-LABlab(47.33, 35.84, -67.71)
CIE-LCHlch(47.33, 76.61, 297.89°)
OKLaboklab(56.02% 0.0186 -0.1946)
OKLCHoklch(56.02% 0.196 275.5)
XYZxyz(22.3935, 16.2729, 75.3446)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961E4 #E4DC59
analogous
#59A6E4 #5961E4 #9759E4
triadic
#5961E4 #E45961 #61E459
tetradic
#5961E4 #E459A6 #E4DC59 #59E497
square
#5961E4 #E459A6 #E4DC59 #59E497
split-complementary
#5961E4 #E49759 #A6E459
monochromatic
#1B23A7 #242FDB #5961E4 #8E93ED #C2C5F5

Accessibility & contrast

On white

4.94
#5961E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5961E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961E4#FFFFFF#000000##FFFFFF
##5961E41.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5961e4;
/* rgb */ color: rgb(89, 97, 228);
/* oklch */ color: oklch(56.0% 0.196 275.5);
Tailwind
colors: {
  custom: {
    50: '#958eed',
    500: '#5961e4',
    950: '#000000',
  },
}
SCSS
$custom: #5961e4;
$custom-light: #958eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5961e4",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 236.547,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.19551,
    "h": 275.5
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#5961E4
secondary
#E6E3B3
accent
#C911D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5961E4

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

Preview Lab → · Contrast checker → · Palette generator →

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