#5169CB#5169CB

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

Color values

HEX#5169CB
RGBrgb(81, 105, 203)
HSLhsl(228, 54%, 56%)
HSVhsv(228, 60%, 80%)
CMYKcmyk(60.1%, 48.3%, 0%, 20.4%)
CIE-LABlab(47.19, 21.12, -53.74)
CIE-LCHlch(47.19, 57.74, 291.46°)
OKLaboklab(55.25% 0.0009 -0.1536)
OKLCHoklch(55.25% 0.154 270.4)
XYZxyz(19.2208, 16.1627, 58.5952)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169CB #CBB351
analogous
#51A6CB #5169CB #7651CB
triadic
#5169CB #CB5169 #69CB51
tetradic
#5169CB #CB51A6 #CBB351 #51CB76
square
#5169CB #CB51A6 #CBB351 #51CB76
split-complementary
#5169CB #CB7651 #A6CB51
monochromatic
#25367C #334BAC #5169CB #8092D9 #AFBAE7

Accessibility & contrast

On white

4.96
#5169CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5169CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169CB#FFFFFF#000000##FFFFFF
##5169CB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5169cb;
/* rgb */ color: rgb(81, 105, 203);
/* oklch */ color: oklch(55.3% 0.154 270.4);
Tailwind
colors: {
  custom: {
    50: '#8c93db',
    500: '#5169cb',
    950: '#000000',
  },
}
SCSS
$custom: #5169cb;
$custom-light: #8c93db;
$custom-dark: #000000;
JSON
{
  "hex": "#5169cb",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 203
  },
  "hsl": {
    "h": 228.197,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.15361,
    "h": 270.4
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#5169CB
secondary
#D5CBA3
accent
#C04ADD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5169CB

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

Preview Lab → · Contrast checker → · Palette generator →

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