#5177CE#5177CE

#5177CE is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.140 H 264.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5177CE
RGBrgb(81, 119, 206)
HSLhsl(222, 56%, 56%)
HSVhsv(222, 61%, 81%)
CMYKcmyk(60.7%, 42.2%, 0%, 19.2%)
CIE-LABlab(51.15, 13.44, -49.11)
CIE-LCHlch(51.15, 50.92, 285.31°)
OKLaboklab(58.34% -0.0131 -0.1399)
OKLCHoklch(58.34% 0.14 264.7)
XYZxyz(21.1269, 19.3974, 61.0113)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177CE #CEA851
analogous
#51B6CE #5177CE #6A51CE
triadic
#5177CE #CE5177 #77CE51
tetradic
#5177CE #CE51B6 #CEA851 #51CE6A
square
#5177CE #CE51B6 #CEA851 #51CE6A
split-complementary
#5177CE #CE6A51 #B6CE51
monochromatic
#244080 #3258B0 #5177CE #819CDB #B1C2E9

Accessibility & contrast

On white

4.30
#5177CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5177CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177CE#FFFFFF#000000##000000
##5177CE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#3E75CC
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5177ce;
/* rgb */ color: rgb(81, 119, 206);
/* oklch */ color: oklch(58.3% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#8c9ddd',
    500: '#5177ce',
    950: '#000000',
  },
}
SCSS
$custom: #5177ce;
$custom-light: #8c9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5177ce",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 221.76,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.14047,
    "h": 264.7
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#5177CE
secondary
#D7C7A4
accent
#B148DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5177CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5177CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva