#5169CF#5169CF

#5169CF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.5% C 0.159 H 270.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5169CF
RGBrgb(81, 105, 207)
HSLhsl(229, 57%, 56%)
HSVhsv(229, 61%, 81%)
CMYKcmyk(60.9%, 49.3%, 0%, 18.8%)
CIE-LABlab(47.44, 22.48, -55.62)
CIE-LCHlch(47.44, 59.99, 292.01°)
OKLaboklab(55.52% 0.0014 -0.1592)
OKLCHoklch(55.52% 0.159 270.5)
XYZxyz(19.7036, 16.3558, 61.1380)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169CF #CFB751
analogous
#51A8CF #5169CF #7851CF
triadic
#5169CF #CF5169 #69CF51
tetradic
#5169CF #CF51A8 #CFB751 #51CF78
square
#5169CF #CF51A8 #CFB751 #51CF78
split-complementary
#5169CF #CF7851 #A8CF51
monochromatic
#243682 #314AB2 #5169CF #8192DC #B1BCE9

Accessibility & contrast

On white

4.92
#5169CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5169CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169CF#FFFFFF#000000##FFFFFF
##5169CF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#196BCD
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5169cf;
/* rgb */ color: rgb(81, 105, 207);
/* oklch */ color: oklch(55.5% 0.159 270.5);
Tailwind
colors: {
  custom: {
    50: '#8d93de',
    500: '#5169cf',
    950: '#000000',
  },
}
SCSS
$custom: #5169cf;
$custom-light: #8d93de;
$custom-dark: #000000;
JSON
{
  "hex": "#5169cf",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 207
  },
  "hsl": {
    "h": 228.571,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.15918,
    "h": 270.5
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#5169CF
secondary
#D8CEA4
accent
#C348E0
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5169CF

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

Preview Lab → · Contrast checker → · Palette generator →

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