#5E77DC#5E77DC

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

Color values

HEX#5E77DC
RGBrgb(94, 119, 220)
HSLhsl(228, 64%, 62%)
HSVhsv(228, 57%, 86%)
CMYKcmyk(57.3%, 45.9%, 0%, 13.7%)
CIE-LABlab(52.66, 20.63, -54.58)
CIE-LCHlch(52.66, 58.35, 290.70°)
OKLaboklab(59.95% 0.0017 -0.1557)
OKLCHoklch(59.95% 0.156 270.6)
XYZxyz(24.1269, 20.7388, 70.4279)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E77DC #DCC35E
analogous
#5EB6DC #5E77DC #845EDC
triadic
#5E77DC #DC5E77 #77DC5E
tetradic
#5E77DC #DC5EB6 #DCC35E #5EDC84
square
#5E77DC #DC5EB6 #DCC35E #5EDC84
split-complementary
#5E77DC #DC845E #B6DC5E
monochromatic
#223B9D #2D4DD0 #5E77DC #90A1E7 #C3CCF2

Accessibility & contrast

On white

4.08
#5E77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5E77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E77DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E77DC#FFFFFF#000000##000000
##5E77DC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e77dc;
/* rgb */ color: rgb(94, 119, 220);
/* oklch */ color: oklch(60.0% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#959de7',
    500: '#5e77dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e77dc;
$custom-light: #959de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e77dc",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 228.095,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.15567,
    "h": 270.6
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#5E77DC
secondary
#E2D9B3
accent
#A919CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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