#5D77E4#5D77E4

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

Color values

HEX#5D77E4
RGBrgb(93, 119, 228)
HSLhsl(228, 71%, 63%)
HSVhsv(228, 59%, 89%)
CMYKcmyk(59.2%, 47.8%, 0%, 10.6%)
CIE-LABlab(53.08, 23.07, -58.41)
CIE-LCHlch(53.08, 62.80, 291.55°)
OKLaboklab(60.41% 0.0018 -0.1669)
OKLCHoklch(60.41% 0.167 270.6)
XYZxyz(25.1099, 21.1202, 76.1371)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D77E4 #E4CA5D
analogous
#5DBBE4 #5D77E4 #865DE4
triadic
#5D77E4 #E45D77 #77E45D
tetradic
#5D77E4 #E45DBB #E4CA5D #5DE486
square
#5D77E4 #E45DBB #E4CA5D #5DE486
split-complementary
#5D77E4 #E4865D #BBE45D
monochromatic
#1C38AA #294BDB #5D77E4 #91A3ED #C6CFF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D77E4#FFFFFF#000000##000000
##5D77E41.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)
#4085E8
Deuteranopia (green-blind)
#2979E2
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d77e4;
/* rgb */ color: rgb(93, 119, 228);
/* oklch */ color: oklch(60.4% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#969ded',
    500: '#5d77e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d77e4;
$custom-light: #969ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5d77e4",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 228.444,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.16695,
    "h": 270.6
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#5D77E4
secondary
#E7DDB6
accent
#AE12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D77E4

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

Preview Lab → · Contrast checker → · Palette generator →

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