#5169BF#5169BF

#5169BF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.5% C 0.137 H 269.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5169BF
RGBrgb(81, 105, 191)
HSLhsl(227, 46%, 53%)
HSVhsv(227, 58%, 75%)
CMYKcmyk(57.6%, 45%, 0%, 25.1%)
CIE-LABlab(46.46, 17.08, -47.99)
CIE-LCHlch(46.46, 50.93, 289.59°)
OKLaboklab(54.47% -0.0007 -0.1367)
OKLCHoklch(54.47% 0.137 269.7)
XYZxyz(17.8458, 15.6127, 51.3533)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169BF #BFA751
analogous
#51A0BF #5169BF #7051BF
triadic
#5169BF #BF5169 #69BF51
tetradic
#5169BF #BF51A0 #BFA751 #51BF70
square
#5169BF #BF51A0 #BFA751 #51BF70
split-complementary
#5169BF #BF7051 #A0BF51
monochromatic
#28376D #394E9A #5169BF #7E90CF #AAB6E0

Accessibility & contrast

On white

5.09
#5169BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5169BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169BF#FFFFFF#000000##FFFFFF
##5169BF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#336ABD
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5169bf;
/* rgb */ color: rgb(81, 105, 191);
/* oklch */ color: oklch(54.5% 0.137 269.7);
Tailwind
colors: {
  custom: {
    50: '#8a93d3',
    500: '#5169bf',
    950: '#000000',
  },
}
SCSS
$custom: #5169bf;
$custom-light: #8a93d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5169bf",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 191
  },
  "hsl": {
    "h": 226.909,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.13672,
    "h": 269.7
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#5169BF
secondary
#CEC39E
accent
#B952D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #5169BF

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

Preview Lab → · Contrast checker → · Palette generator →

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