#5179FF#5179FF

#5179FF is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.0% C 0.204 H 267.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5179FF
RGBrgb(81, 121, 255)
HSLhsl(226, 100%, 66%)
HSVhsv(226, 68%, 100%)
CMYKcmyk(68.2%, 52.5%, 0%, 0%)
CIE-LABlab(54.70, 29.03, -70.85)
CIE-LCHlch(54.70, 76.57, 292.28°)
OKLaboklab(62.02% -0.0087 -0.2038)
OKLCHoklch(62.02% 0.204 267.6)
XYZxyz(28.2745, 22.6413, 97.4685)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179FF #FFD751
analogous
#51D0FF #5179FF #8051FF
triadic
#5179FF #FF5179 #79FF51
tetradic
#5179FF #FF51D0 #FFD751 #51FF80
square
#5179FF #FF51D0 #FFD751 #51FF80
split-complementary
#5179FF #FF8051 #D0FF51
monochromatic
#0031D6 #144AFF #5179FF #8EA8FF #CBD7FF

Accessibility & contrast

On white

3.80
#5179FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5179FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179FF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179FF#FFFFFF#000000##000000
##5179FF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#188BFF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#0099B0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5179ff;
/* rgb */ color: rgb(81, 121, 255);
/* oklch */ color: oklch(62.0% 0.204 267.6);
Tailwind
colors: {
  custom: {
    50: '#959fff',
    500: '#5179ff',
    950: '#000000',
  },
}
SCSS
$custom: #5179ff;
$custom-light: #959fff;
$custom-dark: #000000;
JSON
{
  "hex": "#5179ff",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 255
  },
  "hsl": {
    "h": 226.207,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62019,
    "c": 0.20395,
    "h": 267.6
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#5179FF
secondary
#F3E5B9
accent
#B100E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5179FF

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

Preview Lab → · Contrast checker → · Palette generator →

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