#5B76E9#5B76E9

#5B76E9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.176 H 270.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5B76E9
RGBrgb(91, 118, 233)
HSLhsl(229, 76%, 64%)
HSVhsv(229, 61%, 91%)
CMYKcmyk(60.9%, 49.4%, 0%, 8.6%)
CIE-LABlab(53.02, 24.97, -61.32)
CIE-LCHlch(53.02, 66.21, 292.16°)
OKLaboklab(60.43% 0.0013 -0.1756)
OKLCHoklch(60.43% 0.176 270.4)
XYZxyz(25.4959, 21.0621, 79.7968)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76E9 #E9CE5B
analogous
#5BBDE9 #5B76E9 #875BE9
triadic
#5B76E9 #E95B76 #76E95B
tetradic
#5B76E9 #E95BBD #E9CE5B #5BE987
square
#5B76E9 #E95BBD #E9CE5B #5BE987
split-complementary
#5B76E9 #E9875B #BDE95B
monochromatic
#1835B2 #2549E2 #5B76E9 #91A3F0 #C7D0F7

Accessibility & contrast

On white

4.03
#5B76E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5B76E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76E9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76E9#FFFFFF#000000##000000
##5B76E91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885ED
Deuteranopia (green-blind)
#1779E7
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b76e9;
/* rgb */ color: rgb(91, 118, 233);
/* oklch */ color: oklch(60.4% 0.176 270.4);
Tailwind
colors: {
  custom: {
    50: '#969df1',
    500: '#5b76e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b76e9;
$custom-light: #969df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76e9",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 233
  },
  "hsl": {
    "h": 228.592,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.17556,
    "h": 270.4
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#5B76E9
secondary
#E9DFB7
accent
#B20DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B76E9

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

Preview Lab → · Contrast checker → · Palette generator →

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