#5B76E7#5B76E7

#5B76E7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.173 H 270.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B76E7
RGBrgb(91, 118, 231)
HSLhsl(228, 74%, 63%)
HSVhsv(228, 61%, 91%)
CMYKcmyk(60.6%, 48.9%, 0%, 9.4%)
CIE-LABlab(52.89, 24.31, -60.40)
CIE-LCHlch(52.89, 65.11, 291.92°)
OKLaboklab(60.29% 0.0011 -0.1728)
OKLCHoklch(60.29% 0.173 270.4)
XYZxyz(25.2118, 20.9484, 78.3007)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76E7 #E7CC5B
analogous
#5BBCE7 #5B76E7 #865BE7
triadic
#5B76E7 #E75B76 #76E75B
tetradic
#5B76E7 #E75BBC #E7CC5B #5BE786
square
#5B76E7 #E75BBC #E7CC5B #5BE786
split-complementary
#5B76E7 #E7865B #BCE75B
monochromatic
#1936AE #2649DF #5B76E7 #90A3EF #C6CFF7

Accessibility & contrast

On white

4.05
#5B76E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5B76E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76E7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76E7#FFFFFF#000000##000000
##5B76E71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#1D78E5
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b76e7;
/* rgb */ color: rgb(91, 118, 231);
/* oklch */ color: oklch(60.3% 0.173 270.4);
Tailwind
colors: {
  custom: {
    50: '#959def',
    500: '#5b76e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b76e7;
$custom-light: #959def;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76e7",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 228.429,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.17285,
    "h": 270.4
  },
  "luminance": 0.20951
}

Semantic roles & 50–950 ramp

primary
#5B76E7
secondary
#E8DEB6
accent
#B00FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76E7

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

Preview Lab → · Contrast checker → · Palette generator →

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