#5176BC#5176BC

#5176BC is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.1% C 0.117 H 262.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5176BC
RGBrgb(81, 118, 188)
HSLhsl(219, 44%, 53%)
HSVhsv(219, 57%, 74%)
CMYKcmyk(56.9%, 37.2%, 0%, 26.3%)
CIE-LABlab(49.90, 8.02, -40.79)
CIE-LCHlch(49.90, 41.57, 281.13°)
OKLaboklab(57.06% -0.0158 -0.1155)
OKLCHoklch(57.06% 0.117 262.2)
XYZxyz(18.9458, 18.3355, 50.1079)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176BC #BC9751
analogous
#51ACBC #5176BC #6151BC
triadic
#5176BC #BC5176 #76BC51
tetradic
#5176BC #BC51AC #BC9751 #51BC61
square
#5176BC #BC51AC #BC9751 #51BC61
split-complementary
#5176BC #BC6151 #ACBC51
monochromatic
#293F6A #3A5A96 #5176BC #7D99CD #A9BCDE

Accessibility & contrast

On white

4.50
#5176BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5176BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176BC#FFFFFF#000000##000000
##5176BC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#4C72BB
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5176bc;
/* rgb */ color: rgb(81, 118, 188);
/* oklch */ color: oklch(57.1% 0.117 262.2);
Tailwind
colors: {
  custom: {
    50: '#8a9dd0',
    500: '#5176bc',
    950: '#000000',
  },
}
SCSS
$custom: #5176bc;
$custom-light: #8a9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5176bc",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 219.252,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57061,
    "c": 0.11658,
    "h": 262.2
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#5176BC
secondary
#CCBC9D
accent
#A854D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5176BC

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

Preview Lab → · Contrast checker → · Palette generator →

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