#5B76EA#5B76EA

#5B76EA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.177 H 270.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5B76EA
RGBrgb(91, 118, 234)
HSLhsl(229, 77%, 64%)
HSVhsv(229, 61%, 92%)
CMYKcmyk(61.1%, 49.6%, 0%, 8.2%)
CIE-LABlab(53.08, 25.31, -61.78)
CIE-LCHlch(53.08, 66.76, 292.28°)
OKLaboklab(60.5% 0.0014 -0.1769)
OKLCHoklch(60.5% 0.177 270.5)
XYZxyz(25.6391, 21.1194, 80.5513)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76EA #EACF5B
analogous
#5BBDEA #5B76EA #875BEA
triadic
#5B76EA #EA5B76 #76EA5B
tetradic
#5B76EA #EA5BBD #EACF5B #5BEA87
square
#5B76EA #EA5BBD #EACF5B #5BEA87
split-complementary
#5B76EA #EA875B #BDEA5B
monochromatic
#1735B4 #2549E3 #5B76EA #91A3F1 #C8D1F8

Accessibility & contrast

On white

4.02
#5B76EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5B76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76EA#FFFFFF#000000##000000
##5B76EA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#1479E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b76ea;
/* rgb */ color: rgb(91, 118, 234);
/* oklch */ color: oklch(60.5% 0.177 270.5);
Tailwind
colors: {
  custom: {
    50: '#969df1',
    500: '#5b76ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b76ea;
$custom-light: #969df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76ea",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 228.671,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.17691,
    "h": 270.5
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#5B76EA
secondary
#EAE0B7
accent
#B30CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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