#5177EE#5177EE

#5177EE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.184 H 267.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5177EE
RGBrgb(81, 119, 238)
HSLhsl(225, 82%, 63%)
HSVhsv(225, 66%, 93%)
CMYKcmyk(66%, 50%, 0%, 6.7%)
CIE-LABlab(53.07, 24.40, -64.05)
CIE-LCHlch(53.07, 68.54, 290.86°)
OKLaboklab(60.43% -0.0085 -0.1838)
OKLCHoklch(60.43% 0.184 267.4)
XYZxyz(25.4175, 21.1136, 83.6082)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177EE #EEC851
analogous
#51C5EE #5177EE #7A51EE
triadic
#5177EE #EE5177 #77EE51
tetradic
#5177EE #EE51C5 #EEC851 #51EE7A
square
#5177EE #EE51C5 #EEC851 #51EE7A
split-complementary
#5177EE #EE7A51 #C5EE51
monochromatic
#1139B3 #194BE9 #5177EE #89A3F3 #C1CEF9

Accessibility & contrast

On white

4.02
#5177EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5177EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177EE#FFFFFF#000000##000000
##5177EE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5177ee;
/* rgb */ color: rgb(81, 119, 238);
/* oklch */ color: oklch(60.4% 0.184 267.4);
Tailwind
colors: {
  custom: {
    50: '#929df4',
    500: '#5177ee',
    950: '#000000',
  },
}
SCSS
$custom: #5177ee;
$custom-light: #929df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5177ee",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 225.478,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.18398,
    "h": 267.4
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#5177EE
secondary
#EADCB1
accent
#AA07DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5177EE

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

Preview Lab → · Contrast checker → · Palette generator →

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