#5177BF#5177BF

#5177BF is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.5% C 0.120 H 262.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5177BF
RGBrgb(81, 119, 191)
HSLhsl(219, 46%, 53%)
HSVhsv(219, 58%, 75%)
CMYKcmyk(57.6%, 37.7%, 0%, 25.1%)
CIE-LABlab(50.34, 8.41, -41.82)
CIE-LCHlch(50.34, 42.66, 281.36°)
OKLaboklab(57.45% -0.0162 -0.1185)
OKLCHoklch(57.45% 0.12 262.2)
XYZxyz(19.3909, 18.7030, 51.8683)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177BF #BF9951
analogous
#51AEBF #5177BF #6251BF
triadic
#5177BF #BF5177 #77BF51
tetradic
#5177BF #BF51AE #BF9951 #51BF62
square
#5177BF #BF51AE #BF9951 #51BF62
split-complementary
#5177BF #BF6251 #AEBF51
monochromatic
#28406D #395A9A #5177BF #7E9ACF #AABDE0

Accessibility & contrast

On white

4.43
#5177BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5177BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177BF#FFFFFF#000000##000000
##5177BF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5177bf;
/* rgb */ color: rgb(81, 119, 191);
/* oklch */ color: oklch(57.5% 0.120 262.2);
Tailwind
colors: {
  custom: {
    50: '#8a9dd2',
    500: '#5177bf',
    950: '#000000',
  },
}
SCSS
$custom: #5177bf;
$custom-light: #8a9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5177bf",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 219.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.11962,
    "h": 262.2
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#5177BF
secondary
#CEBD9E
accent
#A852D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5177BF

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

Preview Lab → · Contrast checker → · Palette generator →

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