#5B61E5#5B61E5

#5B61E5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.196 H 276.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B61E5
RGBrgb(91, 97, 229)
HSLhsl(237, 73%, 63%)
HSVhsv(237, 60%, 90%)
CMYKcmyk(60.3%, 57.6%, 0%, 10.2%)
CIE-LABlab(47.53, 36.50, -67.94)
CIE-LCHlch(47.53, 77.12, 298.24°)
OKLaboklab(56.23% 0.0209 -0.1952)
OKLCHoklch(56.23% 0.196 276.1)
XYZxyz(22.7273, 16.4289, 76.0870)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61E5 #E5DF5B
analogous
#5BA6E5 #5B61E5 #9A5BE5
triadic
#5B61E5 #E55B61 #61E55B
tetradic
#5B61E5 #E55BA6 #E5DF5B #5BE59A
square
#5B61E5 #E55BA6 #E5DF5B #5BE59A
split-complementary
#5B61E5 #E59A5B #A6E55B
monochromatic
#1B21AB #262EDD #5B61E5 #9094ED #C5C7F6

Accessibility & contrast

On white

4.90
#5B61E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5B61E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61E5#FFFFFF#000000##FFFFFF
##5B61E51.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b61e5;
/* rgb */ color: rgb(91, 97, 229);
/* oklch */ color: oklch(56.2% 0.196 276.1);
Tailwind
colors: {
  custom: {
    50: '#968eee',
    500: '#5b61e5',
    950: '#000000',
  },
}
SCSS
$custom: #5b61e5;
$custom-light: #968eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61e5",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 237.391,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.19636,
    "h": 276.1
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#5B61E5
secondary
#E7E5B5
accent
#CC11D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5B61E5

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

Preview Lab → · Contrast checker → · Palette generator →

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