#5B76CC#5B76CC

#5B76CC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.6% C 0.136 H 268.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5B76CC
RGBrgb(91, 118, 204)
HSLhsl(226, 53%, 58%)
HSVhsv(226, 55%, 80%)
CMYKcmyk(55.4%, 42.2%, 0%, 20%)
CIE-LABlab(51.31, 15.40, -47.68)
CIE-LCHlch(51.31, 50.11, 287.90°)
OKLaboklab(58.58% -0.0028 -0.1355)
OKLCHoklch(58.58% 0.136 268.8)
XYZxyz(21.6883, 19.5390, 59.7436)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76CC #CCB15B
analogous
#5BAECC #5B76CC #795BCC
triadic
#5B76CC #CC5B76 #76CC5B
tetradic
#5B76CC #CC5BAE #CCB15B #5BCC79
square
#5B76CC #CC5BAE #CCB15B #5BCC79
split-complementary
#5B76CC #CC795B #AECC5B
monochromatic
#293F84 #3755B2 #5B76CC #8A9DDB #B8C4E9

Accessibility & contrast

On white

4.28
#5B76CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5B76CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76CC#FFFFFF#000000##000000
##5B76CC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180CF
Deuteranopia (green-blind)
#4376CA
Tritanopia (blue-blind)
#198997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b76cc;
/* rgb */ color: rgb(91, 118, 204);
/* oklch */ color: oklch(58.6% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#919ddc',
    500: '#5b76cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b76cc;
$custom-light: #919ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76cc",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 225.664,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.13551,
    "h": 268.8
  },
  "luminance": 0.19541
}

Semantic roles & 50–950 ramp

primary
#5B76CC
secondary
#D8CDAB
accent
#BA4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B76CC

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

Preview Lab → · Contrast checker → · Palette generator →

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