#5B76DC#5B76DC

#5B76DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.158 H 269.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5B76DC
RGBrgb(91, 118, 220)
HSLhsl(227, 65%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(58.6%, 46.4%, 0%, 13.7%)
CIE-LABlab(52.23, 20.66, -55.29)
CIE-LCHlch(52.23, 59.02, 290.49°)
OKLaboklab(59.57% -0.0002 -0.1578)
OKLCHoklch(59.57% 0.158 269.9)
XYZxyz(23.7068, 20.3464, 70.3742)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76DC #DCC15B
analogous
#5BB6DC #5B76DC #805BDC
triadic
#5B76DC #DC5B76 #76DC5B
tetradic
#5B76DC #DC5BB6 #DCC15B #5BDC80
square
#5B76DC #DC5BB6 #DCC15B #5BDC80
split-complementary
#5B76DC #DC805B #B6DC5B
monochromatic
#213B9B #2C4ECE #5B76DC #8DA0E7 #C0CAF2

Accessibility & contrast

On white

4.14
#5B76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5B76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76DC#FFFFFF#000000##000000
##5B76DC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b76dc;
/* rgb */ color: rgb(91, 118, 220);
/* oklch */ color: oklch(59.6% 0.158 269.9);
Tailwind
colors: {
  custom: {
    50: '#949de7',
    500: '#5b76dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b76dc;
$custom-light: #949de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76dc",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 227.442,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.15781,
    "h": 269.9
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#5B76DC
secondary
#E2D8B1
accent
#A719CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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