#5D77EC#5D77EC

#5D77EC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.9% C 0.178 H 270.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D77EC
RGBrgb(93, 119, 236)
HSLhsl(229, 79%, 65%)
HSVhsv(229, 61%, 93%)
CMYKcmyk(60.6%, 49.6%, 0%, 7.5%)
CIE-LABlab(53.57, 25.71, -62.10)
CIE-LCHlch(53.57, 67.21, 292.49°)
OKLaboklab(60.94% 0.0027 -0.1778)
OKLCHoklch(60.94% 0.178 270.9)
XYZxyz(26.2463, 21.5748, 82.1218)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D77EC #ECD25D
analogous
#5DBFEC #5D77EC #8B5DEC
triadic
#5D77EC #EC5D77 #77EC5D
tetradic
#5D77EC #EC5DBF #ECD25D #5DEC8B
square
#5D77EC #EC5DBF #ECD25D #5DEC8B
split-complementary
#5D77EC #EC8B5D #BFEC5D
monochromatic
#1633B9 #2649E6 #5D77EC #94A5F2 #CBD3F9

Accessibility & contrast

On white

3.95
#5D77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5D77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D77EC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D77EC#FFFFFF#000000##000000
##5D77EC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#157AEA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d77ec;
/* rgb */ color: rgb(93, 119, 236);
/* oklch */ color: oklch(60.9% 0.178 270.9);
Tailwind
colors: {
  custom: {
    50: '#979df3',
    500: '#5d77ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d77ec;
$custom-light: #979df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d77ec",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 229.091,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.1778,
    "h": 270.9
  },
  "luminance": 0.21577
}

Semantic roles & 50–950 ramp

primary
#5D77EC
secondary
#EBE2BA
accent
#B50ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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