#5B76BB#5B76BB

#5B76BB is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.6% C 0.111 H 266.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5B76BB
RGBrgb(91, 118, 187)
HSLhsl(223, 41%, 55%)
HSVhsv(223, 51%, 73%)
CMYKcmyk(51.3%, 36.9%, 0%, 26.7%)
CIE-LABlab(50.41, 9.93, -39.37)
CIE-LCHlch(50.41, 40.60, 284.16°)
OKLaboklab(57.59% -0.0063 -0.1112)
OKLCHoklch(57.59% 0.111 266.7)
XYZxyz(19.7595, 18.7675, 49.5853)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76BB #BBA05B
analogous
#5BA6BB #5B76BB #705BBB
triadic
#5B76BB #BB5B76 #76BB5B
tetradic
#5B76BB #BB5BA6 #BBA05B #5BBB70
square
#5B76BB #BB5BA6 #BBA05B #5BBB70
split-complementary
#5B76BB #BB705B #A6BB5B
monochromatic
#2E406E #405999 #5B76BB #869ACD #B2BEDF

Accessibility & contrast

On white

4.42
#5B76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5B76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76BB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76BB#FFFFFF#000000##000000
##5B76BB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#2F858F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b76bb;
/* rgb */ color: rgb(91, 118, 187);
/* oklch */ color: oklch(57.6% 0.111 266.7);
Tailwind
colors: {
  custom: {
    50: '#8f9dd0',
    500: '#5b76bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b76bb;
$custom-light: #8f9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76bb",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 223.125,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.11134,
    "h": 266.7
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#5B76BB
secondary
#CDC2A5
accent
#AF57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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