#5B76D2#5B76D2

#5B76D2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.144 H 269.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5B76D2
RGBrgb(91, 118, 210)
HSLhsl(226, 57%, 59%)
HSVhsv(226, 57%, 82%)
CMYKcmyk(56.7%, 43.8%, 0%, 17.6%)
CIE-LABlab(51.65, 17.36, -50.56)
CIE-LCHlch(51.65, 53.46, 288.95°)
OKLaboklab(58.94% -0.0017 -0.1439)
OKLCHoklch(58.94% 0.144 269.3)
XYZxyz(22.4218, 19.8324, 63.6068)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76D2 #D2B75B
analogous
#5BB1D2 #5B76D2 #7C5BD2
triadic
#5B76D2 #D25B76 #76D25B
tetradic
#5B76D2 #D25BB1 #D2B75B #5BD27C
square
#5B76D2 #D25BB1 #D2B75B #5BD27C
split-complementary
#5B76D2 #D27C5B #B1D25B
monochromatic
#263E8C #3453BC #5B76D2 #8B9EDF #BBC6EC

Accessibility & contrast

On white

4.23
#5B76D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5B76D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76D2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76D2#FFFFFF#000000##000000
##5B76D21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D5
Deuteranopia (green-blind)
#3E76D0
Tritanopia (blue-blind)
#078A9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b76d2;
/* rgb */ color: rgb(91, 118, 210);
/* oklch */ color: oklch(58.9% 0.144 269.3);
Tailwind
colors: {
  custom: {
    50: '#929de0',
    500: '#5b76d2',
    950: '#000000',
  },
}
SCSS
$custom: #5b76d2;
$custom-light: #929de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76d2",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 226.387,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.14393,
    "h": 269.3
  },
  "luminance": 0.19834
}

Semantic roles & 50–950 ramp

primary
#5B76D2
secondary
#DCD1AD
accent
#BE48E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B76D2

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

Preview Lab → · Contrast checker → · Palette generator →

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