#5176EA#5176EA

#5176EA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.180 H 267.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5176EA
RGBrgb(81, 118, 234)
HSLhsl(225, 78%, 62%)
HSVhsv(225, 65%, 92%)
CMYKcmyk(65.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(52.56, 23.64, -62.65)
CIE-LCHlch(52.56, 66.96, 290.67°)
OKLaboklab(59.96% -0.008 -0.1797)
OKLCHoklch(59.96% 0.18 267.5)
XYZxyz(24.7179, 20.6444, 80.5081)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5176EA #EAC551
analogous
#51C3EA #5176EA #7951EA
triadic
#5176EA #EA5176 #76EA51
tetradic
#5176EA #EA51C3 #EAC551 #51EA79
square
#5176EA #EA51C3 #EAC551 #51EA79
split-complementary
#5176EA #EA7951 #C3EA51
monochromatic
#1539AC #1B4BE2 #5176EA #88A1F1 #BECCF7

Accessibility & contrast

On white

4.09
#5176EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5176EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5176EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5176EA#FFFFFF#000000##000000
##5176EA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5176ea;
/* rgb */ color: rgb(81, 118, 234);
/* oklch */ color: oklch(60.0% 0.180 267.5);
Tailwind
colors: {
  custom: {
    50: '#919df1',
    500: '#5176ea',
    950: '#000000',
  },
}
SCSS
$custom: #5176ea;
$custom-light: #919df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5176ea",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 225.49,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.17984,
    "h": 267.5
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5176EA

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

Preview Lab → · Contrast checker → · Palette generator →

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