#5B76EE#5B76EE

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

Color values

HEX#5B76EE
RGBrgb(91, 118, 238)
HSLhsl(229, 81%, 65%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(61.8%, 50.4%, 0%, 6.7%)
CIE-LABlab(53.33, 26.64, -63.61)
CIE-LCHlch(53.33, 68.96, 292.73°)
OKLaboklab(60.77% 0.0018 -0.1823)
OKLCHoklch(60.77% 0.182 270.6)
XYZxyz(26.2202, 21.3518, 83.6119)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B76EE #EED35B
analogous
#5BBFEE #5B76EE #8A5BEE
triadic
#5B76EE #EE5B76 #76EE5B
tetradic
#5B76EE #EE5BBF #EED35B #5BEE8A
square
#5B76EE #EE5BBF #EED35B #5BEE8A
split-complementary
#5B76EE #EE8A5B #BFEE5B
monochromatic
#1332BB #2448E8 #5B76EE #92A4F4 #CAD3F9

Accessibility & contrast

On white

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

On black

5.27
#5B76EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B76EE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B76EE#FFFFFF#000000##000000
##5B76EE1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b76ee;
/* rgb */ color: rgb(91, 118, 238);
/* oklch */ color: oklch(60.8% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#969df4',
    500: '#5b76ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b76ee;
$custom-light: #969df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b76ee",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 228.98,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.18229,
    "h": 270.6
  },
  "luminance": 0.21354
}

Semantic roles & 50–950 ramp

primary
#5B76EE
secondary
#ECE2B9
accent
#B608DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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