#5176BD#5176BD

#5176BD is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.1% C 0.118 H 262.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5176BD
RGBrgb(81, 118, 189)
HSLhsl(219, 45%, 53%)
HSVhsv(219, 57%, 74%)
CMYKcmyk(57.1%, 37.6%, 0%, 25.9%)
CIE-LABlab(49.95, 8.35, -41.28)
CIE-LCHlch(49.95, 42.12, 281.44°)
OKLaboklab(57.12% -0.0156 -0.1169)
OKLCHoklch(57.12% 0.118 262.4)
XYZxyz(19.0539, 18.3788, 50.6776)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176BD #BD9851
analogous
#51ACBD #5176BD #6251BD
triadic
#5176BD #BD5176 #76BD51
tetradic
#5176BD #BD51AC #BD9851 #51BD62
square
#5176BD #BD51AC #BD9851 #51BD62
split-complementary
#5176BD #BD6251 #ACBD51
monochromatic
#293F6B #395A97 #5176BD #7D99CE #AABCDF

Accessibility & contrast

On white

4.49
#5176BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5176BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176BD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176BD#FFFFFF#000000##000000
##5176BD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CC0
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5176bd;
/* rgb */ color: rgb(81, 118, 189);
/* oklch */ color: oklch(57.1% 0.118 262.4);
Tailwind
colors: {
  custom: {
    50: '#8a9dd1',
    500: '#5176bd',
    950: '#000000',
  },
}
SCSS
$custom: #5176bd;
$custom-light: #8a9dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5176bd",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 219.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.11798,
    "h": 262.4
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#5176BD
secondary
#CCBC9E
accent
#A853D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5176BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5176BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva