#5169AF#5169AF

#5169AF is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.5% C 0.114 H 268.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5169AF
RGBrgb(81, 105, 175)
HSLhsl(225, 37%, 50%)
HSVhsv(225, 54%, 69%)
CMYKcmyk(53.7%, 40%, 0%, 31.4%)
CIE-LABlab(45.56, 11.76, -40.12)
CIE-LCHlch(45.56, 41.81, 286.34°)
OKLaboklab(53.48% -0.0037 -0.1137)
OKLCHoklch(53.48% 0.114 268.1)
XYZxyz(16.1802, 14.9465, 42.5815)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169AF #AF9751
analogous
#5198AF #5169AF #6851AF
triadic
#5169AF #AF5169 #69AF51
tetradic
#5169AF #AF5198 #AF9751 #51AF68
square
#5169AF #AF5198 #AF9751 #51AF68
split-complementary
#5169AF #AF6851 #98AF51
monochromatic
#2A375C #3D5085 #5169AF #7B8DC2 #A5B1D6

Accessibility & contrast

On white

5.26
#5169AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5169AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169AF#FFFFFF#000000##FFFFFF
##5169AF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B2
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#227883
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5169af;
/* rgb */ color: rgb(81, 105, 175);
/* oklch */ color: oklch(53.5% 0.114 268.1);
Tailwind
colors: {
  custom: {
    50: '#8893c7',
    500: '#5169af',
    950: '#000000',
  },
}
SCSS
$custom: #5169af;
$custom-light: #8893c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5169af",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 175
  },
  "hsl": {
    "h": 224.681,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.11372,
    "h": 268.1
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#5169AF
secondary
#C3B899
accent
#B05BCD
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5169AF

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

Preview Lab → · Contrast checker → · Palette generator →

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