#5179E6#5179E6

#5179E6 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.171 H 266.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5179E6
RGBrgb(81, 121, 230)
HSLhsl(224, 75%, 61%)
HSVhsv(224, 65%, 90%)
CMYKcmyk(64.8%, 47.4%, 0%, 9.8%)
CIE-LABlab(53.10, 20.42, -59.54)
CIE-LCHlch(53.10, 62.94, 288.93°)
OKLaboklab(60.29% -0.0112 -0.1705)
OKLCHoklch(60.29% 0.171 266.2)
XYZxyz(24.5087, 21.1350, 77.6354)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179E6 #E6BE51
analogous
#51C3E6 #5179E6 #7351E6
triadic
#5179E6 #E65179 #79E651
tetradic
#5179E6 #E651C3 #E6BE51 #51E673
square
#5179E6 #E651C3 #E6BE51 #51E673
split-complementary
#5179E6 #E67351 #C3E651
monochromatic
#183EA5 #1F52DA #5179E6 #87A2EE #BCCBF5

Accessibility & contrast

On white

4.02
#5179E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5179E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179E6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179E6#FFFFFF#000000##000000
##5179E61.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EA
Deuteranopia (green-blind)
#2078E4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5179e6;
/* rgb */ color: rgb(81, 121, 230);
/* oklch */ color: oklch(60.3% 0.171 266.2);
Tailwind
colors: {
  custom: {
    50: '#909fee',
    500: '#5179e6',
    950: '#000000',
  },
}
SCSS
$custom: #5179e6;
$custom-light: #909fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5179e6",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 223.893,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.17085,
    "h": 266.2
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#5179E6
secondary
#E5D6AD
accent
#A10ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5179E6

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

Preview Lab → · Contrast checker → · Palette generator →

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