#5B61E9#5B61E9

#5B61E9 is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.5% C 0.202 H 275.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5B61E9
RGBrgb(91, 97, 233)
HSLhsl(237, 76%, 64%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(60.9%, 58.4%, 0%, 8.6%)
CIE-LABlab(47.82, 37.80, -69.72)
CIE-LCHlch(47.82, 79.31, 298.46°)
OKLaboklab(56.53% 0.0208 -0.2005)
OKLCHoklch(56.53% 0.202 275.9)
XYZxyz(23.2923, 16.6549, 79.0623)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61E9 #E9E35B
analogous
#5BA8E9 #5B61E9 #9C5BE9
triadic
#5B61E9 #E95B61 #61E95B
tetradic
#5B61E9 #E95BA8 #E9E35B #5BE99C
square
#5B61E9 #E95BA8 #E9E35B #5BE99C
split-complementary
#5B61E9 #E99C5B #A8E95B
monochromatic
#181EB2 #252DE2 #5B61E9 #9195F0 #C7C9F7

Accessibility & contrast

On white

4.85
#5B61E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5B61E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61E9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61E9#FFFFFF#000000##FFFFFF
##5B61E91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b61e9;
/* rgb */ color: rgb(91, 97, 233);
/* oklch */ color: oklch(56.5% 0.202 275.9);
Tailwind
colors: {
  custom: {
    50: '#978ef1',
    500: '#5b61e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b61e9;
$custom-light: #978ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61e9",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 237.465,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.20157,
    "h": 275.9
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#5B61E9
secondary
#E9E7B7
accent
#D00DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B61E9

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

Preview Lab → · Contrast checker → · Palette generator →

#5B61E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva