#5179EA#5179EA

#5179EA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.6% C 0.176 H 266.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5179EA
RGBrgb(81, 121, 234)
HSLhsl(224, 78%, 62%)
HSVhsv(224, 65%, 92%)
CMYKcmyk(65.4%, 48.3%, 0%, 8.2%)
CIE-LABlab(53.34, 21.79, -61.38)
CIE-LCHlch(53.34, 65.14, 289.55°)
OKLaboklab(60.56% -0.0107 -0.1759)
OKLCHoklch(60.56% 0.176 266.5)
XYZxyz(25.0769, 21.3622, 80.6277)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179EA #EAC251
analogous
#51C5EA #5179EA #7651EA
triadic
#5179EA #EA5179 #79EA51
tetradic
#5179EA #EA51C5 #EAC251 #51EA76
square
#5179EA #EA51C5 #EAC251 #51EA76
split-complementary
#5179EA #EA7651 #C5EA51
monochromatic
#153CAC #1B4FE2 #5179EA #88A3F1 #BECDF7

Accessibility & contrast

On white

3.98
#5179EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5179EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179EA#FFFFFF#000000##000000
##5179EA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#1479E8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5179ea;
/* rgb */ color: rgb(81, 121, 234);
/* oklch */ color: oklch(60.6% 0.176 266.5);
Tailwind
colors: {
  custom: {
    50: '#919ff1',
    500: '#5179ea',
    950: '#000000',
  },
}
SCSS
$custom: #5179ea;
$custom-light: #919ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5179ea",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 224.314,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.17623,
    "h": 266.5
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#5179EA
secondary
#E8D9AF
accent
#A40BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5179EA

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

Preview Lab → · Contrast checker → · Palette generator →

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