#5B76EC#5B76EC

#5B76EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.180 H 270.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5B76EC
RGBrgb(91, 118, 236)
HSLhsl(229, 79%, 64%)
HSVhsv(229, 61%, 93%)
CMYKcmyk(61.4%, 50%, 0%, 7.5%)
CIE-LABlab(53.21, 25.98, -62.70)
CIE-LCHlch(53.21, 67.86, 292.50°)
OKLaboklab(60.63% 0.0016 -0.1796)
OKLCHoklch(60.63% 0.18 270.5)
XYZxyz(25.9281, 21.2349, 82.0730)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76EC #ECD15B
analogous
#5BBEEC #5B76EC #895BEC
triadic
#5B76EC #EC5B76 #76EC5B
tetradic
#5B76EC #EC5BBE #ECD15B #5BEC89
square
#5B76EC #EC5BBE #ECD15B #5BEC89
split-complementary
#5B76EC #EC895B #BEEC5B
monochromatic
#1533B7 #2448E6 #5B76EC #92A4F2 #C9D2F9

Accessibility & contrast

On white

4.00
#5B76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5B76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76EC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76EC#FFFFFF#000000##000000
##5B76EC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#0A79EA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b76ec;
/* rgb */ color: rgb(91, 118, 236);
/* oklch */ color: oklch(60.6% 0.180 270.5);
Tailwind
colors: {
  custom: {
    50: '#969df3',
    500: '#5b76ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b76ec;
$custom-light: #969df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76ec",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 228.828,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.17961,
    "h": 270.5
  },
  "luminance": 0.21237
}

Semantic roles & 50–950 ramp

primary
#5B76EC
secondary
#EBE1B8
accent
#B50ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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