#5176EE#5176EE

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

Color values

HEX#5176EE
RGBrgb(81, 118, 238)
HSLhsl(226, 82%, 63%)
HSVhsv(226, 66%, 93%)
CMYKcmyk(66%, 50.4%, 0%, 6.7%)
CIE-LABlab(52.81, 25.02, -64.47)
CIE-LCHlch(52.81, 69.15, 291.21°)
OKLaboklab(60.24% -0.0076 -0.185)
OKLCHoklch(60.24% 0.185 267.6)
XYZxyz(25.2991, 20.8768, 83.5687)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176EE #EEC951
analogous
#51C4EE #5176EE #7B51EE
triadic
#5176EE #EE5176 #76EE51
tetradic
#5176EE #EE51C4 #EEC951 #51EE7B
square
#5176EE #EE51C4 #EEC951 #51EE7B
split-complementary
#5176EE #EE7B51 #C4EE51
monochromatic
#1138B3 #194AE9 #5176EE #89A2F3 #C1CEF9

Accessibility & contrast

On white

4.06
#5176EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5176EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176EE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176EE#FFFFFF#000000##000000
##5176EE1.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)
#2F86F2
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5176ee;
/* rgb */ color: rgb(81, 118, 238);
/* oklch */ color: oklch(60.2% 0.185 267.6);
Tailwind
colors: {
  custom: {
    50: '#929df4',
    500: '#5176ee',
    950: '#000000',
  },
}
SCSS
$custom: #5176ee;
$custom-light: #929df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5176ee",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 225.86,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.18518,
    "h": 267.6
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5176EE

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

Preview Lab → · Contrast checker → · Palette generator →

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