#5B76CE#5B76CE

#5B76CE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.138 H 269.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B76CE
RGBrgb(91, 118, 206)
HSLhsl(226, 54%, 58%)
HSVhsv(226, 56%, 81%)
CMYKcmyk(55.8%, 42.7%, 0%, 19.2%)
CIE-LABlab(51.42, 16.05, -48.64)
CIE-LCHlch(51.42, 51.22, 288.26°)
OKLaboklab(58.7% -0.0024 -0.1383)
OKLCHoklch(58.7% 0.138 269)
XYZxyz(21.9297, 19.6356, 61.0150)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76CE #CEB35B
analogous
#5BAFCE #5B76CE #795BCE
triadic
#5B76CE #CE5B76 #76CE5B
tetradic
#5B76CE #CE5BAF #CEB35B #5BCE79
square
#5B76CE #CE5BAF #CEB35B #5BCE79
split-complementary
#5B76CE #CE795B #AFCE5B
monochromatic
#283E86 #3654B6 #5B76CE #8A9DDC #B9C5EA

Accessibility & contrast

On white

4.26
#5B76CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5B76CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76CE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76CE#FFFFFF#000000##000000
##5B76CE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#148998
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b76ce;
/* rgb */ color: rgb(91, 118, 206);
/* oklch */ color: oklch(58.7% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#929ddd',
    500: '#5b76ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b76ce;
$custom-light: #929ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76ce",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 225.913,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.13832,
    "h": 269
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#5B76CE
secondary
#D9CFAB
accent
#BB4ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5B76CE

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

Preview Lab → · Contrast checker → · Palette generator →

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