#5169BB#5169BB

#5169BB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.2% C 0.131 H 269.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5169BB
RGBrgb(81, 105, 187)
HSLhsl(226, 44%, 53%)
HSVhsv(226, 57%, 73%)
CMYKcmyk(56.7%, 43.9%, 0%, 26.7%)
CIE-LABlab(46.23, 15.74, -46.04)
CIE-LCHlch(46.23, 48.66, 288.87°)
OKLaboklab(54.21% -0.0014 -0.131)
OKLCHoklch(54.21% 0.131 269.4)
XYZxyz(17.4116, 15.4390, 49.0666)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169BB #BBA351
analogous
#519EBB #5169BB #6E51BB
triadic
#5169BB #BB5169 #69BB51
tetradic
#5169BB #BB519E #BBA351 #51BB6E
square
#5169BB #BB519E #BBA351 #51BB6E
split-complementary
#5169BB #BB6E51 #9EBB51
monochromatic
#293769 #3A4F95 #5169BB #7D8FCC #A9B5DD

Accessibility & contrast

On white

5.14
#5169BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5169BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169BB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169BB#FFFFFF#000000##FFFFFF
##5169BB1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#0C7B89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5169bb;
/* rgb */ color: rgb(81, 105, 187);
/* oklch */ color: oklch(54.2% 0.131 269.4);
Tailwind
colors: {
  custom: {
    50: '#8a93d0',
    500: '#5169bb',
    950: '#000000',
  },
}
SCSS
$custom: #5169bb;
$custom-light: #8a93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5169bb",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 187
  },
  "hsl": {
    "h": 226.415,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.13102,
    "h": 269.4
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#5169BB
secondary
#CBC09D
accent
#B754D4
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #5169BB

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

Preview Lab → · Contrast checker → · Palette generator →

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