#5B76E8#5B76E8

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

Color values

HEX#5B76E8
RGBrgb(91, 118, 232)
HSLhsl(229, 75%, 63%)
HSVhsv(229, 61%, 91%)
CMYKcmyk(60.8%, 49.1%, 0%, 9%)
CIE-LABlab(52.96, 24.64, -60.86)
CIE-LCHlch(52.96, 65.66, 292.04°)
OKLaboklab(60.36% 0.0012 -0.1742)
OKLCHoklch(60.36% 0.174 270.4)
XYZxyz(25.3534, 21.0051, 79.0466)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76E8 #E8CD5B
analogous
#5BBCE8 #5B76E8 #865BE8
triadic
#5B76E8 #E85B76 #76E85B
tetradic
#5B76E8 #E85BBC #E8CD5B #5BE886
square
#5B76E8 #E85BBC #E8CD5B #5BE886
split-complementary
#5B76E8 #E8865B #BCE85B
monochromatic
#1936B0 #2549E0 #5B76E8 #91A3F0 #C6D0F7

Accessibility & contrast

On white

4.04
#5B76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5B76E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76E8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76E8#FFFFFF#000000##000000
##5B76E81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#1A78E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b76e8;
/* rgb */ color: rgb(91, 118, 232);
/* oklch */ color: oklch(60.4% 0.174 270.4);
Tailwind
colors: {
  custom: {
    50: '#959df0',
    500: '#5b76e8',
    950: '#000000',
  },
}
SCSS
$custom: #5b76e8;
$custom-light: #959df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76e8",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 228.511,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.1742,
    "h": 270.4
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#5B76E8
secondary
#E9DFB6
accent
#B10ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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