#5169CC#5169CC

#5169CC is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.3% C 0.155 H 270.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5169CC
RGBrgb(81, 105, 204)
HSLhsl(228, 55%, 56%)
HSVhsv(228, 60%, 80%)
CMYKcmyk(60.3%, 48.5%, 0%, 20%)
CIE-LABlab(47.25, 21.46, -54.21)
CIE-LCHlch(47.25, 58.30, 291.60°)
OKLaboklab(55.32% 0.0011 -0.155)
OKLCHoklch(55.32% 0.155 270.4)
XYZxyz(19.3404, 16.2105, 59.2248)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169CC #CCB451
analogous
#51A6CC #5169CC #7651CC
triadic
#5169CC #CC5169 #69CC51
tetradic
#5169CC #CC51A6 #CCB451 #51CC76
square
#5169CC #CC51A6 #CCB451 #51CC76
split-complementary
#5169CC #CC7651 #A6CC51
monochromatic
#25367E #334BAD #5169CC #8092DA #B0BBE8

Accessibility & contrast

On white

4.95
#5169CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5169CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169CC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169CC#FFFFFF#000000##FFFFFF
##5169CC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5169cc;
/* rgb */ color: rgb(81, 105, 204);
/* oklch */ color: oklch(55.3% 0.155 270.4);
Tailwind
colors: {
  custom: {
    50: '#8d93dc',
    500: '#5169cc',
    950: '#000000',
  },
}
SCSS
$custom: #5169cc;
$custom-light: #8d93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5169cc",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 204
  },
  "hsl": {
    "h": 228.293,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.15501,
    "h": 270.4
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#5169CC
secondary
#D6CCA3
accent
#C14ADE
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5169CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5169CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva