#5169CD#5169CD

#5169CD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.4% C 0.156 H 270.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5169CD
RGBrgb(81, 105, 205)
HSLhsl(228, 55%, 56%)
HSVhsv(228, 60%, 80%)
CMYKcmyk(60.5%, 48.8%, 0%, 19.6%)
CIE-LABlab(47.31, 21.80, -54.68)
CIE-LCHlch(47.31, 58.87, 291.74°)
OKLaboklab(55.39% 0.0012 -0.1564)
OKLCHoklch(55.39% 0.156 270.4)
XYZxyz(19.4607, 16.2587, 59.8585)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169CD #CDB551
analogous
#51A7CD #5169CD #7751CD
triadic
#5169CD #CD5169 #69CD51
tetradic
#5169CD #CD51A7 #CDB551 #51CD77
square
#5169CD #CD51A7 #CDB551 #51CD77
split-complementary
#5169CD #CD7751 #A7CD51
monochromatic
#25367F #324AAF #5169CD #8192DB #B0BBE8

Accessibility & contrast

On white

4.94
#5169CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5169CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169CD#FFFFFF#000000##FFFFFF
##5169CD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#1D6BCB
Tritanopia (blue-blind)
#008091
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5169cd;
/* rgb */ color: rgb(81, 105, 205);
/* oklch */ color: oklch(55.4% 0.156 270.4);
Tailwind
colors: {
  custom: {
    50: '#8d93dd',
    500: '#5169cd',
    950: '#000000',
  },
}
SCSS
$custom: #5169cd;
$custom-light: #8d93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5169cd",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 205
  },
  "hsl": {
    "h": 228.387,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.15639,
    "h": 270.4
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#5169CD
secondary
#D7CDA3
accent
#C249DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5169CD

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

Preview Lab → · Contrast checker → · Palette generator →

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