#5961EE#5961EE

#5961EE is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.208 H 275.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5961EE
RGBrgb(89, 97, 238)
HSLhsl(237, 81%, 64%)
HSVhsv(237, 63%, 93%)
CMYKcmyk(62.6%, 59.2%, 0%, 6.7%)
CIE-LABlab(48.06, 39.11, -72.15)
CIE-LCHlch(48.06, 82.07, 298.46°)
OKLaboklab(56.79% 0.0185 -0.2077)
OKLCHoklch(56.79% 0.208 275.1)
XYZxyz(23.8221, 16.8443, 82.8682)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961EE #EEE659
analogous
#59ABEE #5961EE #9C59EE
triadic
#5961EE #EE5961 #61EE59
tetradic
#5961EE #EE59AB #EEE659 #59EE9C
square
#5961EE #EE59AB #EEE659 #59EE9C
split-complementary
#5961EE #EE9C59 #ABEE59
monochromatic
#131CBA #212CE8 #5961EE #9196F4 #C8CBF9

Accessibility & contrast

On white

4.81
#5961EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5961EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961EE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961EE#FFFFFF#000000##FFFFFF
##5961EE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5961ee;
/* rgb */ color: rgb(89, 97, 238);
/* oklch */ color: oklch(56.8% 0.208 275.1);
Tailwind
colors: {
  custom: {
    50: '#978ef5',
    500: '#5961ee',
    950: '#000000',
  },
}
SCSS
$custom: #5961ee;
$custom-light: #978ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5961ee",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 236.779,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.20849,
    "h": 275.1
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#5961EE
secondary
#EBE9B7
accent
#D208DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5961EE

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

Preview Lab → · Contrast checker → · Palette generator →

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