#5B76E2#5B76E2

#5B76E2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.0% C 0.166 H 270.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B76E2
RGBrgb(91, 118, 226)
HSLhsl(228, 70%, 62%)
HSVhsv(228, 60%, 89%)
CMYKcmyk(59.7%, 47.8%, 0%, 11.4%)
CIE-LABlab(52.59, 22.65, -58.09)
CIE-LCHlch(52.59, 62.35, 291.30°)
OKLaboklab(59.96% 0.0006 -0.166)
OKLCHoklch(59.96% 0.166 270.2)
XYZxyz(24.5157, 20.6700, 74.6346)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76E2 #E2C75B
analogous
#5BBAE2 #5B76E2 #845BE2
triadic
#5B76E2 #E25B76 #76E25B
tetradic
#5B76E2 #E25BBA #E2C75B #5BE284
square
#5B76E2 #E25BBA #E2C75B #5BE284
split-complementary
#5B76E2 #E2845B #BAE25B
monochromatic
#1D38A5 #274BD9 #5B76E2 #8FA1EB #C3CDF4

Accessibility & contrast

On white

4.09
#5B76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5B76E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76E2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76E2#FFFFFF#000000##000000
##5B76E21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E6
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b76e2;
/* rgb */ color: rgb(91, 118, 226);
/* oklch */ color: oklch(60.0% 0.166 270.2);
Tailwind
colors: {
  custom: {
    50: '#959dec',
    500: '#5b76e2',
    950: '#000000',
  },
}
SCSS
$custom: #5b76e2;
$custom-light: #959dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76e2",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 228,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.16605,
    "h": 270.2
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#5B76E2
secondary
#E5DBB4
accent
#AC14D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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