#5B76EF#5B76EF

#5B76EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.184 H 270.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5B76EF
RGBrgb(91, 118, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 62%, 94%)
CMYKcmyk(61.9%, 50.6%, 0%, 6.3%)
CIE-LABlab(53.40, 26.98, -64.06)
CIE-LCHlch(53.40, 69.51, 292.84°)
OKLaboklab(60.84% 0.0019 -0.1836)
OKLCHoklch(60.84% 0.184 270.6)
XYZxyz(26.3676, 21.4107, 84.3878)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76EF #EFD45B
analogous
#5BC0EF #5B76EF #8A5BEF
triadic
#5B76EF #EF5B76 #76EF5B
tetradic
#5B76EF #EF5BC0 #EFD45B #5BEF8A
square
#5B76EF #EF5BC0 #EFD45B #5BEF8A
split-complementary
#5B76EF #EF8A5B #C0EF5B
monochromatic
#1232BD #2347EA #5B76EF #93A5F4 #CBD3FA

Accessibility & contrast

On white

3.98
#5B76EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5B76EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76EF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76EF#FFFFFF#000000##000000
##5B76EF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b76ef;
/* rgb */ color: rgb(91, 118, 239);
/* oklch */ color: oklch(60.8% 0.184 270.6);
Tailwind
colors: {
  custom: {
    50: '#979df5',
    500: '#5b76ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b76ef;
$custom-light: #979df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76ef",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 229.054,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.18363,
    "h": 270.6
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#5B76EF
secondary
#ECE3BA
accent
#B707DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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