#5B76CF#5B76CF

#5B76CF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.8% C 0.140 H 269.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5B76CF
RGBrgb(91, 118, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 56%, 81%)
CMYKcmyk(56%, 43%, 0%, 18.8%)
CIE-LABlab(51.48, 16.38, -49.12)
CIE-LCHlch(51.48, 51.78, 288.44°)
OKLaboklab(58.76% -0.0022 -0.1397)
OKLCHoklch(58.76% 0.14 269.1)
XYZxyz(22.0516, 19.6843, 61.6568)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76CF #CFB45B
analogous
#5BB0CF #5B76CF #7A5BCF
triadic
#5B76CF #CF5B76 #76CF5B
tetradic
#5B76CF #CF5BB0 #CFB45B #5BCF7A
square
#5B76CF #CF5BB0 #CFB45B #5BCF7A
split-complementary
#5B76CF #CF7A5B #B0CF5B
monochromatic
#283E88 #3654B7 #5B76CF #8A9EDD #BAC5EB

Accessibility & contrast

On white

4.25
#5B76CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5B76CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76CF#FFFFFF#000000##000000
##5B76CF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#128A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b76cf;
/* rgb */ color: rgb(91, 118, 207);
/* oklch */ color: oklch(58.8% 0.140 269.1);
Tailwind
colors: {
  custom: {
    50: '#929dde',
    500: '#5b76cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b76cf;
$custom-light: #929dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76cf",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 226.034,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.13972,
    "h": 269.1
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#5B76CF
secondary
#DACFAC
accent
#BC4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B76CF

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

Preview Lab → · Contrast checker → · Palette generator →

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