#5177EA#5177EA

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

Color values

HEX#5177EA
RGBrgb(81, 119, 234)
HSLhsl(225, 78%, 62%)
HSVhsv(225, 65%, 92%)
CMYKcmyk(65.4%, 49.1%, 0%, 8.2%)
CIE-LABlab(52.82, 23.02, -62.23)
CIE-LCHlch(52.82, 66.35, 290.30°)
OKLaboklab(60.16% -0.0089 -0.1784)
OKLCHoklch(60.16% 0.179 267.1)
XYZxyz(24.8363, 20.8812, 80.5475)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177EA #EAC451
analogous
#51C4EA #5177EA #7851EA
triadic
#5177EA #EA5177 #77EA51
tetradic
#5177EA #EA51C4 #EAC451 #51EA78
square
#5177EA #EA51C4 #EAC451 #51EA78
split-complementary
#5177EA #EA7851 #C4EA51
monochromatic
#153AAC #1B4DE2 #5177EA #88A2F1 #BECCF7

Accessibility & contrast

On white

4.06
#5177EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5177EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177EA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177EA#FFFFFF#000000##000000
##5177EA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#0577E8
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5177ea;
/* rgb */ color: rgb(81, 119, 234);
/* oklch */ color: oklch(60.2% 0.179 267.1);
Tailwind
colors: {
  custom: {
    50: '#919df1',
    500: '#5177ea',
    950: '#000000',
  },
}
SCSS
$custom: #5177ea;
$custom-light: #919df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5177ea",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 225.098,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.17863,
    "h": 267.1
  },
  "luminance": 0.20883
}

Semantic roles & 50–950 ramp

primary
#5177EA
secondary
#E8DAAF
accent
#A70BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5177EA

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

Preview Lab → · Contrast checker → · Palette generator →

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