#5176BE#5176BE

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

Color values

HEX#5176BE
RGBrgb(81, 118, 190)
HSLhsl(220, 46%, 53%)
HSVhsv(220, 57%, 75%)
CMYKcmyk(57.4%, 37.9%, 0%, 25.5%)
CIE-LABlab(50.00, 8.68, -41.78)
CIE-LCHlch(50.00, 42.67, 281.74°)
OKLaboklab(57.18% -0.0153 -0.1184)
OKLCHoklch(57.18% 0.119 262.6)
XYZxyz(19.1628, 18.4223, 51.2513)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176BE #BE9951
analogous
#51ACBE #5176BE #6251BE
triadic
#5176BE #BE5176 #76BE51
tetradic
#5176BE #BE51AC #BE9951 #51BE62
square
#5176BE #BE51AC #BE9951 #51BE62
split-complementary
#5176BE #BE6251 #ACBE51
monochromatic
#283F6C #395A99 #5176BE #7E99CF #AABCDF

Accessibility & contrast

On white

4.48
#5176BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5176BE#FFFFFF#000000##000000
##5176BE1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC1
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5176be;
/* rgb */ color: rgb(81, 118, 190);
/* oklch */ color: oklch(57.2% 0.119 262.6);
Tailwind
colors: {
  custom: {
    50: '#8a9dd2',
    500: '#5176be',
    950: '#000000',
  },
}
SCSS
$custom: #5176be;
$custom-light: #8a9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5176be",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 190
  },
  "hsl": {
    "h": 219.633,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.11938,
    "h": 262.6
  },
  "luminance": 0.18424
}

Semantic roles & 50–950 ramp

primary
#5176BE
secondary
#CDBD9E
accent
#A953D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #5176BE

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

Preview Lab → · Contrast checker → · Palette generator →

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