#5B61E7#5B61E7

#5B61E7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.4% C 0.199 H 276.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5B61E7
RGBrgb(91, 97, 231)
HSLhsl(237, 74%, 63%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(60.6%, 58%, 0%, 9.4%)
CIE-LABlab(47.68, 37.15, -68.83)
CIE-LCHlch(47.68, 78.22, 298.35°)
OKLaboklab(56.38% 0.0209 -0.1979)
OKLCHoklch(56.38% 0.199 276)
XYZxyz(23.0082, 16.5413, 77.5661)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61E7 #E7E15B
analogous
#5BA7E7 #5B61E7 #9B5BE7
triadic
#5B61E7 #E75B61 #61E75B
tetradic
#5B61E7 #E75BA7 #E7E15B #5BE79B
square
#5B61E7 #E75BA7 #E7E15B #5BE79B
split-complementary
#5B61E7 #E79B5B #A7E75B
monochromatic
#1920AE #262EDF #5B61E7 #9094EF #C6C8F7

Accessibility & contrast

On white

4.87
#5B61E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5B61E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61E7#FFFFFF#000000##FFFFFF
##5B61E71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b61e7;
/* rgb */ color: rgb(91, 97, 231);
/* oklch */ color: oklch(56.4% 0.199 276.0);
Tailwind
colors: {
  custom: {
    50: '#968ef0',
    500: '#5b61e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b61e7;
$custom-light: #968ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61e7",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 237.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.19897,
    "h": 276
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#5B61E7
secondary
#E8E6B6
accent
#CE0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B61E7

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

Preview Lab → · Contrast checker → · Palette generator →

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