#5177BC#5177BC

#5177BC is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.115 H 261.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5177BC
RGBrgb(81, 119, 188)
HSLhsl(219, 44%, 53%)
HSVhsv(219, 57%, 74%)
CMYKcmyk(56.9%, 36.7%, 0%, 26.3%)
CIE-LABlab(50.18, 7.41, -40.34)
CIE-LCHlch(50.18, 41.02, 280.41°)
OKLaboklab(57.28% -0.0169 -0.1142)
OKLCHoklch(57.28% 0.115 261.6)
XYZxyz(19.0641, 18.5723, 50.1474)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177BC #BC9651
analogous
#51ACBC #5177BC #6151BC
triadic
#5177BC #BC5177 #77BC51
tetradic
#5177BC #BC51AC #BC9651 #51BC61
square
#5177BC #BC51AC #BC9651 #51BC61
split-complementary
#5177BC #BC6151 #ACBC51
monochromatic
#29406A #3A5B96 #5177BC #7D9ACD #A9BCDE

Accessibility & contrast

On white

4.45
#5177BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5177BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177BC#FFFFFF#000000##000000
##5177BC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5177bc;
/* rgb */ color: rgb(81, 119, 188);
/* oklch */ color: oklch(57.3% 0.115 261.6);
Tailwind
colors: {
  custom: {
    50: '#8a9dd0',
    500: '#5177bc',
    950: '#000000',
  },
}
SCSS
$custom: #5177bc;
$custom-light: #8a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5177bc",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 218.692,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.11544,
    "h": 261.6
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#5177BC
secondary
#CCBB9D
accent
#A754D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5177BC

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

Preview Lab → · Contrast checker → · Palette generator →

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