#5B76DE#5B76DE

#5B76DE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.161 H 270.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5B76DE
RGBrgb(91, 118, 222)
HSLhsl(228, 66%, 61%)
HSVhsv(228, 59%, 87%)
CMYKcmyk(59%, 46.8%, 0%, 12.9%)
CIE-LABlab(52.35, 21.32, -56.23)
CIE-LCHlch(52.35, 60.13, 290.76°)
OKLaboklab(59.7% 0.0001 -0.1606)
OKLCHoklch(59.7% 0.161 270)
XYZxyz(23.9732, 20.4530, 71.7776)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76DE #DEC35B
analogous
#5BB7DE #5B76DE #825BDE
triadic
#5B76DE #DE5B76 #76DE5B
tetradic
#5B76DE #DE5BB7 #DEC35B #5BDE82
square
#5B76DE #DE5BB7 #DEC35B #5BDE82
split-complementary
#5B76DE #DE825B #B7DE5B
monochromatic
#203A9F #2A4DD2 #5B76DE #8EA1E8 #C1CBF3

Accessibility & contrast

On white

4.12
#5B76DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5B76DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76DE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76DE#FFFFFF#000000##000000
##5B76DE1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b76de;
/* rgb */ color: rgb(91, 118, 222);
/* oklch */ color: oklch(59.7% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#949de9',
    500: '#5b76de',
    950: '#000000',
  },
}
SCSS
$custom: #5b76de;
$custom-light: #949de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76de",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 222
  },
  "hsl": {
    "h": 227.634,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.16057,
    "h": 270
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#5B76DE
secondary
#E3D9B2
accent
#A917CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B76DE

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

Preview Lab → · Contrast checker → · Palette generator →

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