#5179CA#5179CA

#5179CA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.133 H 263.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5179CA
RGBrgb(81, 121, 202)
HSLhsl(220, 53%, 55%)
HSVhsv(220, 60%, 79%)
CMYKcmyk(59.9%, 40.1%, 0%, 20.8%)
CIE-LABlab(51.48, 10.87, -46.30)
CIE-LCHlch(51.48, 47.56, 283.21°)
OKLaboklab(58.53% -0.016 -0.1316)
OKLCHoklch(58.53% 0.133 263.1)
XYZxyz(20.8877, 19.6866, 58.5648)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5179CA #CAA251
analogous
#51B6CA #5179CA #6551CA
triadic
#5179CA #CA5179 #79CA51
tetradic
#5179CA #CA51B6 #CAA251 #51CA65
square
#5179CA #CA51B6 #CAA251 #51CA65
split-complementary
#5179CA #CA6551 #B6CA51
monochromatic
#25427B #345BAA #5179CA #809DD8 #AFC1E7

Accessibility & contrast

On white

4.25
#5179CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5179CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5179CA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5179CA#FFFFFF#000000##000000
##5179CA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4576C8
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5179ca;
/* rgb */ color: rgb(81, 121, 202);
/* oklch */ color: oklch(58.5% 0.133 263.1);
Tailwind
colors: {
  custom: {
    50: '#8c9fda',
    500: '#5179ca',
    950: '#000000',
  },
}
SCSS
$custom: #5179ca;
$custom-light: #8c9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#5179ca",
  "rgb": {
    "r": 81,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 220.165,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.13258,
    "h": 263.1
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#5179CA
secondary
#D5C4A2
accent
#AD4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5179CA

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

Preview Lab → · Contrast checker → · Palette generator →

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