#5176FF#5176FF

#5176FF is a mid, highly saturated blue. Relative luminance 0.219; OKLCH L 61.5% C 0.207 H 268.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5176FF
RGBrgb(81, 118, 255)
HSLhsl(227, 100%, 66%)
HSVhsv(227, 68%, 100%)
CMYKcmyk(68.2%, 53.7%, 0%, 0%)
CIE-LABlab(53.95, 30.87, -72.08)
CIE-LCHlch(53.95, 78.41, 293.18°)
OKLaboklab(61.45% -0.0063 -0.2074)
OKLCHoklch(61.45% 0.208 268.3)
XYZxyz(27.9156, 21.9234, 97.3488)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176FF #FFDA51
analogous
#51CDFF #5176FF #8351FF
triadic
#5176FF #FF5176 #76FF51
tetradic
#5176FF #FF51CD #FFDA51 #51FF83
square
#5176FF #FF51CD #FFDA51 #51FF83
split-complementary
#5176FF #FF8351 #CDFF51
monochromatic
#002DD6 #1446FF #5176FF #8EA6FF #CBD6FF

Accessibility & contrast

On white

3.90
#5176FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5176FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176FF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176FF#FFFFFF#000000##000000
##5176FF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0097AF
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5176ff;
/* rgb */ color: rgb(81, 118, 255);
/* oklch */ color: oklch(61.5% 0.207 268.3);
Tailwind
colors: {
  custom: {
    50: '#959dff',
    500: '#5176ff',
    950: '#000000',
  },
}
SCSS
$custom: #5176ff;
$custom-light: #959dff;
$custom-dark: #000000;
JSON
{
  "hex": "#5176ff",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 227.241,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6145,
    "c": 0.2075,
    "h": 268.3
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#5176FF
secondary
#F3E6B9
accent
#B500E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5176FF

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

Preview Lab → · Contrast checker → · Palette generator →

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