#5176BF#5176BF

#5176BF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.2% C 0.121 H 262.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5176BF
RGBrgb(81, 118, 191)
HSLhsl(220, 46%, 53%)
HSVhsv(220, 58%, 75%)
CMYKcmyk(57.6%, 38.2%, 0%, 25.1%)
CIE-LABlab(50.06, 9.02, -42.27)
CIE-LCHlch(50.06, 43.22, 282.04°)
OKLaboklab(57.23% -0.0151 -0.1198)
OKLCHoklch(57.23% 0.121 262.8)
XYZxyz(19.2725, 18.4662, 51.8288)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176BF #BF9A51
analogous
#51ADBF #5176BF #6351BF
triadic
#5176BF #BF5176 #76BF51
tetradic
#5176BF #BF51AD #BF9A51 #51BF63
square
#5176BF #BF51AD #BF9A51 #51BF63
split-complementary
#5176BF #BF6351 #ADBF51
monochromatic
#283F6D #39599A #5176BF #7E99CF #AABCE0

Accessibility & contrast

On white

4.47
#5176BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5176BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176BF#FFFFFF#000000##000000
##5176BF1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5176bf;
/* rgb */ color: rgb(81, 118, 191);
/* oklch */ color: oklch(57.2% 0.121 262.8);
Tailwind
colors: {
  custom: {
    50: '#8a9dd2',
    500: '#5176bf',
    950: '#000000',
  },
}
SCSS
$custom: #5176bf;
$custom-light: #8a9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5176bf",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 219.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.12077,
    "h": 262.8
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#5176BF
secondary
#CEBE9E
accent
#A952D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5176BF

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

Preview Lab → · Contrast checker → · Palette generator →

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