#5B76CD#5B76CD

#5B76CD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.137 H 268.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5B76CD
RGBrgb(91, 118, 205)
HSLhsl(226, 53%, 58%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(55.6%, 42.4%, 0%, 19.6%)
CIE-LABlab(51.37, 15.73, -48.16)
CIE-LCHlch(51.37, 50.66, 288.08°)
OKLaboklab(58.64% -0.0026 -0.1369)
OKLCHoklch(58.64% 0.137 268.9)
XYZxyz(21.8086, 19.5872, 60.3772)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76CD #CDB25B
analogous
#5BAFCD #5B76CD #795BCD
triadic
#5B76CD #CD5B76 #76CD5B
tetradic
#5B76CD #CD5BAF #CDB25B #5BCD79
square
#5B76CD #CD5BAF #CDB25B #5BCD79
split-complementary
#5B76CD #CD795B #AFCD5B
monochromatic
#293E85 #3754B4 #5B76CD #8A9DDB #B9C4EA

Accessibility & contrast

On white

4.27
#5B76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5B76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76CD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76CD#FFFFFF#000000##000000
##5B76CD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#4276CB
Tritanopia (blue-blind)
#178997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b76cd;
/* rgb */ color: rgb(91, 118, 205);
/* oklch */ color: oklch(58.6% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5b76cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b76cd;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76cd",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 225.789,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58637,
    "c": 0.13691,
    "h": 268.9
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#5B76CD
secondary
#D9CEAB
accent
#BA4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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