#5177E7#5177E7

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

Color values

HEX#5177E7
RGBrgb(81, 119, 231)
HSLhsl(225, 76%, 61%)
HSVhsv(225, 65%, 91%)
CMYKcmyk(64.9%, 48.5%, 0%, 9.4%)
CIE-LABlab(52.63, 21.99, -60.85)
CIE-LCHlch(52.63, 64.70, 289.87°)
OKLaboklab(59.95% -0.0092 -0.1744)
OKLCHoklch(59.95% 0.175 267)
XYZxyz(24.4090, 20.7102, 78.2969)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177E7 #E7C151
analogous
#51C2E7 #5177E7 #7651E7
triadic
#5177E7 #E75177 #77E751
tetradic
#5177E7 #E751C2 #E7C151 #51E776
square
#5177E7 #E751C2 #E7C151 #51E776
split-complementary
#5177E7 #E77651 #C2E751
monochromatic
#173BA7 #1E4FDC #5177E7 #87A1EE #BDCBF6

Accessibility & contrast

On white

4.08
#5177E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5177E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177E7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177E7#FFFFFF#000000##000000
##5177E71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#1477E5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5177e7;
/* rgb */ color: rgb(81, 119, 231);
/* oklch */ color: oklch(60.0% 0.175 267.0);
Tailwind
colors: {
  custom: {
    50: '#909def',
    500: '#5177e7',
    950: '#000000',
  },
}
SCSS
$custom: #5177e7;
$custom-light: #909def;
$custom-dark: #000000;
JSON
{
  "hex": "#5177e7",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 224.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.17461,
    "h": 267
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#5177E7
secondary
#E6D8AE
accent
#A50ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5177E7

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

Preview Lab → · Contrast checker → · Palette generator →

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