#5176D0#5176D0

#5176D0 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.144 H 265.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5176D0
RGBrgb(81, 118, 208)
HSLhsl(223, 57%, 57%)
HSVhsv(223, 61%, 82%)
CMYKcmyk(61.1%, 43.3%, 0%, 18.4%)
CIE-LABlab(50.99, 14.74, -50.50)
CIE-LCHlch(50.99, 52.61, 286.27°)
OKLaboklab(58.25% -0.0117 -0.144)
OKLCHoklch(58.25% 0.144 265.4)
XYZxyz(21.2530, 19.2584, 62.2595)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176D0 #D0AB51
analogous
#51B5D0 #5176D0 #6C51D0
triadic
#5176D0 #D05176 #76D051
tetradic
#5176D0 #D051B5 #D0AB51 #51D06C
square
#5176D0 #D051B5 #D0AB51 #51D06C
split-complementary
#5176D0 #D06C51 #B5D051
monochromatic
#233F83 #3057B3 #5176D0 #819CDD #B1C2EA

Accessibility & contrast

On white

4.33
#5176D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5176D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176D0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176D0#FFFFFF#000000##000000
##5176D01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D3
Deuteranopia (green-blind)
#3A74CE
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5176d0;
/* rgb */ color: rgb(81, 118, 208);
/* oklch */ color: oklch(58.3% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#8d9ddf',
    500: '#5176d0',
    950: '#000000',
  },
}
SCSS
$custom: #5176d0;
$custom-light: #8d9ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5176d0",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 208
  },
  "hsl": {
    "h": 222.52,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.14443,
    "h": 265.4
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#5176D0
secondary
#D8C9A4
accent
#B447E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5176D0

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

Preview Lab → · Contrast checker → · Palette generator →

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