#5B61EB#5B61EB

#5B61EB is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.7% C 0.204 H 275.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5B61EB
RGBrgb(91, 97, 235)
HSLhsl(238, 78%, 64%)
HSVhsv(238, 61%, 92%)
CMYKcmyk(61.3%, 58.7%, 0%, 7.8%)
CIE-LABlab(47.97, 38.45, -70.61)
CIE-LCHlch(47.97, 80.40, 298.57°)
OKLaboklab(56.69% 0.0208 -0.2031)
OKLCHoklch(56.69% 0.204 275.8)
XYZxyz(23.5796, 16.7698, 80.5755)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B61EB #EBE55B
analogous
#5BA9EB #5B61EB #9D5BEB
triadic
#5B61EB #EB5B61 #61EB5B
tetradic
#5B61EB #EB5BA9 #EBE55B #5BEB9D
square
#5B61EB #EB5BA9 #EBE55B #5BEB9D
split-complementary
#5B61EB #EB9D5B #A9EB5B
monochromatic
#161DB5 #242CE4 #5B61EB #9296F2 #C8CAF8

Accessibility & contrast

On white

4.82
#5B61EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5B61EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B61EB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B61EB#FFFFFF#000000##FFFFFF
##5B61EB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b61eb;
/* rgb */ color: rgb(91, 97, 235);
/* oklch */ color: oklch(56.7% 0.204 275.8);
Tailwind
colors: {
  custom: {
    50: '#978ef2',
    500: '#5b61eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b61eb;
$custom-light: #978ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b61eb",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 237.5,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.20416,
    "h": 275.8
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#5B61EB
secondary
#EAE8B8
accent
#D20BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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