#5B76ED#5B76ED

#5B76ED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.181 H 270.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5B76ED
RGBrgb(91, 118, 237)
HSLhsl(229, 80%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(61.6%, 50.2%, 0%, 7.1%)
CIE-LABlab(53.27, 26.31, -63.15)
CIE-LCHlch(53.27, 68.41, 292.62°)
OKLaboklab(60.7% 0.0017 -0.1809)
OKLCHoklch(60.7% 0.181 270.5)
XYZxyz(26.0737, 21.2932, 82.8403)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76ED #EDD25B
analogous
#5BBFED #5B76ED #895BED
triadic
#5B76ED #ED5B76 #76ED5B
tetradic
#5B76ED #ED5BBF #EDD25B #5BED89
square
#5B76ED #ED5BBF #EDD25B #5BED89
split-complementary
#5B76ED #ED895B #BFED5B
monochromatic
#1433B9 #2448E7 #5B76ED #92A4F3 #C9D2F9

Accessibility & contrast

On white

3.99
#5B76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5B76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76ED
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76ED#FFFFFF#000000##000000
##5B76ED1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F1
Deuteranopia (green-blind)
#0479EB
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b76ed;
/* rgb */ color: rgb(91, 118, 237);
/* oklch */ color: oklch(60.7% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#969df3',
    500: '#5b76ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b76ed;
$custom-light: #969df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76ed",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 228.904,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.18095,
    "h": 270.5
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#5B76ED
secondary
#EBE2B9
accent
#B509DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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