#5177E8#5177E8

#5177E8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.0% C 0.176 H 267.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5177E8
RGBrgb(81, 119, 232)
HSLhsl(225, 77%, 61%)
HSVhsv(225, 65%, 91%)
CMYKcmyk(65.1%, 48.7%, 0%, 9%)
CIE-LABlab(52.69, 22.34, -61.31)
CIE-LCHlch(52.69, 65.25, 290.02°)
OKLaboklab(60.02% -0.0091 -0.1757)
OKLCHoklch(60.02% 0.176 267)
XYZxyz(24.5506, 20.7669, 79.0429)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177E8 #E8C251
analogous
#51C2E8 #5177E8 #7751E8
triadic
#5177E8 #E85177 #77E851
tetradic
#5177E8 #E851C2 #E8C251 #51E877
square
#5177E8 #E851C2 #E8C251 #51E877
split-complementary
#5177E8 #E87751 #C2E851
monochromatic
#163BA8 #1D4EDE #5177E8 #87A1EF #BDCCF6

Accessibility & contrast

On white

4.07
#5177E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5177E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177E8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177E8#FFFFFF#000000##000000
##5177E81.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#1077E6
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5177e8;
/* rgb */ color: rgb(81, 119, 232);
/* oklch */ color: oklch(60.0% 0.176 267.0);
Tailwind
colors: {
  custom: {
    50: '#919df0',
    500: '#5177e8',
    950: '#000000',
  },
}
SCSS
$custom: #5177e8;
$custom-light: #919df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5177e8",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 224.901,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.17596,
    "h": 267
  },
  "luminance": 0.20769
}

Semantic roles & 50–950 ramp

primary
#5177E8
secondary
#E7D8AE
accent
#A50DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5177E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5177E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva