#5179E7#5179E7

#5179E7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.172 H 266.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5179E7
RGBrgb(81, 121, 231)
HSLhsl(224, 76%, 61%)
HSVhsv(224, 65%, 91%)
CMYKcmyk(64.9%, 47.6%, 0%, 9.4%)
CIE-LABlab(53.16, 20.76, -60.00)
CIE-LCHlch(53.16, 63.49, 289.08°)
OKLaboklab(60.36% -0.0111 -0.1718)
OKLCHoklch(60.36% 0.172 266.3)
XYZxyz(24.6495, 21.1913, 78.3771)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179E7 #E7BF51
analogous
#51C4E7 #5179E7 #7451E7
triadic
#5179E7 #E75179 #79E751
tetradic
#5179E7 #E751C4 #E7BF51 #51E774
square
#5179E7 #E751C4 #E7BF51 #51E774
split-complementary
#5179E7 #E77451 #C4E751
monochromatic
#173DA7 #1E51DC #5179E7 #87A2EE #BDCCF6

Accessibility & contrast

On white

4.01
#5179E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5179E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179E7#FFFFFF#000000##000000
##5179E71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#1D79E5
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5179e7;
/* rgb */ color: rgb(81, 121, 231);
/* oklch */ color: oklch(60.4% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#909fef',
    500: '#5179e7',
    950: '#000000',
  },
}
SCSS
$custom: #5179e7;
$custom-light: #909fef;
$custom-dark: #000000;
JSON
{
  "hex": "#5179e7",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 224,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.1722,
    "h": 266.3
  },
  "luminance": 0.21194
}

Semantic roles & 50–950 ramp

primary
#5179E7
secondary
#E6D7AE
accent
#A20ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5179E7

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

Preview Lab → · Contrast checker → · Palette generator →

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