#5179EE#5179EE

#5179EE is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.182 H 266.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5179EE
RGBrgb(81, 121, 238)
HSLhsl(225, 82%, 63%)
HSVhsv(225, 66%, 93%)
CMYKcmyk(66%, 49.2%, 0%, 6.7%)
CIE-LABlab(53.59, 23.17, -63.21)
CIE-LCHlch(53.59, 67.33, 290.13°)
OKLaboklab(60.83% -0.0102 -0.1813)
OKLCHoklch(60.83% 0.182 266.8)
XYZxyz(25.6580, 21.5947, 83.6884)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179EE #EEC651
analogous
#51C8EE #5179EE #7751EE
triadic
#5179EE #EE5179 #79EE51
tetradic
#5179EE #EE51C8 #EEC651 #51EE77
square
#5179EE #EE51C8 #EEC651 #51EE77
split-complementary
#5179EE #EE7751 #C8EE51
monochromatic
#113BB3 #194EE9 #5179EE #89A4F3 #C1CFF9

Accessibility & contrast

On white

3.95
#5179EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5179EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179EE#FFFFFF#000000##000000
##5179EE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5179ee;
/* rgb */ color: rgb(81, 121, 238);
/* oklch */ color: oklch(60.8% 0.182 266.8);
Tailwind
colors: {
  custom: {
    50: '#929ff4',
    500: '#5179ee',
    950: '#000000',
  },
}
SCSS
$custom: #5179ee;
$custom-light: #929ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#5179ee",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 224.713,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60828,
    "c": 0.18157,
    "h": 266.8
  },
  "luminance": 0.21597
}

Semantic roles & 50–950 ramp

primary
#5179EE
secondary
#EADBB1
accent
#A807DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5179EE

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

Preview Lab → · Contrast checker → · Palette generator →

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