#5169C8#5169C8

#5169C8 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.1% C 0.149 H 270.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5169C8
RGBrgb(81, 105, 200)
HSLhsl(228, 52%, 55%)
HSVhsv(228, 60%, 78%)
CMYKcmyk(59.5%, 47.5%, 0%, 21.6%)
CIE-LABlab(47.00, 20.11, -52.31)
CIE-LCHlch(47.00, 56.04, 291.03°)
OKLaboklab(55.05% 0.0006 -0.1494)
OKLCHoklch(55.05% 0.149 270.2)
XYZxyz(18.8668, 16.0211, 56.7305)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169C8 #C8B051
analogous
#51A5C8 #5169C8 #7451C8
triadic
#5169C8 #C85169 #69C851
tetradic
#5169C8 #C851A5 #C8B051 #51C874
square
#5169C8 #C851A5 #C8B051 #51C874
split-complementary
#5169C8 #C87451 #A5C851
monochromatic
#263779 #354CA7 #5169C8 #8091D7 #AEB9E5

Accessibility & contrast

On white

4.99
#5169C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5169C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169C8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169C8#FFFFFF#000000##FFFFFF
##5169C81.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CB
Deuteranopia (green-blind)
#276AC6
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5169c8;
/* rgb */ color: rgb(81, 105, 200);
/* oklch */ color: oklch(55.1% 0.149 270.2);
Tailwind
colors: {
  custom: {
    50: '#8c93d9',
    500: '#5169c8',
    950: '#000000',
  },
}
SCSS
$custom: #5169c8;
$custom-light: #8c93d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5169c8",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 200
  },
  "hsl": {
    "h": 227.899,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.14942,
    "h": 270.2
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#5169C8
secondary
#D3C9A1
accent
#BF4CDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5169C8

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

Preview Lab → · Contrast checker → · Palette generator →

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