#5177CA#5177CA

#5177CA is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.135 H 264.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5177CA
RGBrgb(81, 119, 202)
HSLhsl(221, 53%, 55%)
HSVhsv(221, 60%, 79%)
CMYKcmyk(59.9%, 41.1%, 0%, 20.8%)
CIE-LABlab(50.93, 12.09, -47.19)
CIE-LCHlch(50.93, 48.71, 284.37°)
OKLaboklab(58.1% -0.0138 -0.1342)
OKLCHoklch(58.1% 0.135 264.1)
XYZxyz(20.6472, 19.2055, 58.4846)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5177CA #CAA451
analogous
#51B3CA #5177CA #6751CA
triadic
#5177CA #CA5177 #77CA51
tetradic
#5177CA #CA51B3 #CAA451 #51CA67
square
#5177CA #CA51B3 #CAA451 #51CA67
split-complementary
#5177CA #CA6751 #B3CA51
monochromatic
#25407B #3459AA #5177CA #809CD8 #AFC0E7

Accessibility & contrast

On white

4.34
#5177CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5177CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5177CA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5177CA#FFFFFF#000000##000000
##5177CA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5177ca;
/* rgb */ color: rgb(81, 119, 202);
/* oklch */ color: oklch(58.1% 0.135 264.1);
Tailwind
colors: {
  custom: {
    50: '#8c9dda',
    500: '#5177ca',
    950: '#000000',
  },
}
SCSS
$custom: #5177ca;
$custom-light: #8c9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5177ca",
  "rgb": {
    "r": 81,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 221.157,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.13492,
    "h": 264.1
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#5177CA
secondary
#D5C5A2
accent
#AF4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5177CA

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

Preview Lab → · Contrast checker → · Palette generator →

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