#5B76BC#5B76BC

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

Color values

HEX#5B76BC
RGBrgb(91, 118, 188)
HSLhsl(223, 42%, 55%)
HSVhsv(223, 52%, 74%)
CMYKcmyk(51.6%, 37.2%, 0%, 26.3%)
CIE-LABlab(50.46, 10.25, -39.86)
CIE-LCHlch(50.46, 41.16, 284.42°)
OKLaboklab(57.65% -0.0061 -0.1126)
OKLCHoklch(57.65% 0.113 266.9)
XYZxyz(19.8669, 18.8105, 50.1511)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76BC #BCA15B
analogous
#5BA6BC #5B76BC #715BBC
triadic
#5B76BC #BC5B76 #76BC5B
tetradic
#5B76BC #BC5BA6 #BCA15B #5BBC71
square
#5B76BC #BC5BA6 #BCA15B #5BBC71
split-complementary
#5B76BC #BC715B #A6BC5B
monochromatic
#2D406F #3F599B #5B76BC #869ACE #B2BFE0

Accessibility & contrast

On white

4.41
#5B76BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5B76BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76BC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76BC#FFFFFF#000000##000000
##5B76BC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#2E8590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b76bc;
/* rgb */ color: rgb(91, 118, 188);
/* oklch */ color: oklch(57.6% 0.113 266.9);
Tailwind
colors: {
  custom: {
    50: '#8f9dd0',
    500: '#5b76bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b76bc;
$custom-light: #8f9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76bc",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 223.299,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.11277,
    "h": 266.9
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#5B76BC
secondary
#CEC2A5
accent
#AF56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B76BC

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

Preview Lab → · Contrast checker → · Palette generator →

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