#5B76DB#5B76DB

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

Color values

HEX#5B76DB
RGBrgb(91, 118, 219)
HSLhsl(227, 64%, 61%)
HSVhsv(227, 58%, 86%)
CMYKcmyk(58.4%, 46.1%, 0%, 14.1%)
CIE-LABlab(52.17, 20.33, -54.82)
CIE-LCHlch(52.17, 58.47, 290.34°)
OKLaboklab(59.51% -0.0003 -0.1564)
OKLCHoklch(59.51% 0.156 269.9)
XYZxyz(23.5747, 20.2936, 69.6788)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76DB #DBC05B
analogous
#5BB6DB #5B76DB #805BDB
triadic
#5B76DB #DB5B76 #76DB5B
tetradic
#5B76DB #DB5BB6 #DBC05B #5BDB80
square
#5B76DB #DB5BB6 #DBC05B #5BDB80
split-complementary
#5B76DB #DB805B #B6DB5B
monochromatic
#223B9A #2D4ECC #5B76DB #8DA0E6 #BFCAF1

Accessibility & contrast

On white

4.15
#5B76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5B76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76DB#FFFFFF#000000##000000
##5B76DB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b76db;
/* rgb */ color: rgb(91, 118, 219);
/* oklch */ color: oklch(59.5% 0.156 269.9);
Tailwind
colors: {
  custom: {
    50: '#939de7',
    500: '#5b76db',
    950: '#000000',
  },
}
SCSS
$custom: #5b76db;
$custom-light: #939de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76db",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 227.344,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.15643,
    "h": 269.9
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#5B76DB
secondary
#E1D7B1
accent
#A61ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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