#5177EB#5177EB

#5177EB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.180 H 267.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5177EB
RGBrgb(81, 119, 235)
HSLhsl(225, 79%, 62%)
HSVhsv(225, 66%, 92%)
CMYKcmyk(65.5%, 49.4%, 0%, 7.8%)
CIE-LABlab(52.88, 23.37, -62.68)
CIE-LCHlch(52.88, 66.90, 290.44°)
OKLaboklab(60.23% -0.0088 -0.1798)
OKLCHoklch(60.23% 0.18 267.2)
XYZxyz(24.9804, 20.9388, 81.3063)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177EB #EBC551
analogous
#51C4EB #5177EB #7851EB
triadic
#5177EB #EB5177 #77EB51
tetradic
#5177EB #EB51C4 #EBC551 #51EB78
square
#5177EB #EB51C4 #EBC551 #51EB78
split-complementary
#5177EB #EB7851 #C4EB51
monochromatic
#143AAE #1A4CE5 #5177EB #88A2F1 #BFCDF8

Accessibility & contrast

On white

4.05
#5177EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5177EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177EB#FFFFFF#000000##000000
##5177EB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5177eb;
/* rgb */ color: rgb(81, 119, 235);
/* oklch */ color: oklch(60.2% 0.180 267.2);
Tailwind
colors: {
  custom: {
    50: '#919df2',
    500: '#5177eb',
    950: '#000000',
  },
}
SCSS
$custom: #5177eb;
$custom-light: #919df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5177eb",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 225.195,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.17998,
    "h": 267.2
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#5177EB
secondary
#E8DAB0
accent
#A80ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5177EB

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

Preview Lab → · Contrast checker → · Palette generator →

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