#5D77DC#5D77DC

#5D77DC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.156 H 270.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D77DC
RGBrgb(93, 119, 220)
HSLhsl(228, 64%, 61%)
HSVhsv(228, 58%, 86%)
CMYKcmyk(57.7%, 45.9%, 0%, 13.7%)
CIE-LABlab(52.60, 20.43, -54.68)
CIE-LCHlch(52.60, 58.37, 290.49°)
OKLaboklab(59.89% 0.0007 -0.156)
OKLCHoklch(59.89% 0.156 270.3)
XYZxyz(24.0250, 20.6862, 70.4231)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D77DC #DCC25D
analogous
#5DB6DC #5D77DC #835DDC
triadic
#5D77DC #DC5D77 #77DC5D
tetradic
#5D77DC #DC5DB6 #DCC25D #5DDC83
square
#5D77DC #DC5DB6 #DCC25D #5DDC83
split-complementary
#5D77DC #DC835D #B6DC5D
monochromatic
#223B9D #2D4ECF #5D77DC #8FA1E7 #C2CCF2

Accessibility & contrast

On white

4.09
#5D77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5D77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D77DC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D77DC#FFFFFF#000000##000000
##5D77DC1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883E0
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d77dc;
/* rgb */ color: rgb(93, 119, 220);
/* oklch */ color: oklch(59.9% 0.156 270.3);
Tailwind
colors: {
  custom: {
    50: '#959de7',
    500: '#5d77dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d77dc;
$custom-light: #959de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d77dc",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 227.717,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.15596,
    "h": 270.3
  },
  "luminance": 0.20688
}

Semantic roles & 50–950 ramp

primary
#5D77DC
secondary
#E2D8B3
accent
#A819CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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