#5E77CC#5E77CC

#5E77CC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.133 H 269.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5E77CC
RGBrgb(94, 119, 204)
HSLhsl(226, 52%, 58%)
HSVhsv(226, 54%, 80%)
CMYKcmyk(53.9%, 41.7%, 0%, 20%)
CIE-LABlab(51.76, 15.43, -46.96)
CIE-LCHlch(51.76, 49.43, 288.19°)
OKLaboklab(58.97% -0.0009 -0.1333)
OKLCHoklch(58.97% 0.133 269.6)
XYZxyz(22.1084, 19.9314, 59.7972)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E77CC #CCB35E
analogous
#5EAECC #5E77CC #7C5ECC
triadic
#5E77CC #CC5E77 #77CC5E
tetradic
#5E77CC #CC5EAE #CCB35E #5ECC7C
square
#5E77CC #CC5EAE #CCB35E #5ECC7C
split-complementary
#5E77CC #CC7C5E #AECC5E
monochromatic
#2A3F85 #3955B4 #5E77CC #8C9EDB #BBC6E9

Accessibility & contrast

On white

4.21
#5E77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5E77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E77CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E77CC#FFFFFF#000000##000000
##5E77CC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381CF
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#258997
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e77cc;
/* rgb */ color: rgb(94, 119, 204);
/* oklch */ color: oklch(59.0% 0.133 269.6);
Tailwind
colors: {
  custom: {
    50: '#939ddc',
    500: '#5e77cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e77cc;
$custom-light: #939ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e77cc",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 226.364,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58967,
    "c": 0.13329,
    "h": 269.6
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#5E77CC
secondary
#D9CFAD
accent
#BB4CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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