#5167AF#5167AF

#5167AF is a mid, moderate blue. Relative luminance 0.145; OKLCH L 53.1% C 0.116 H 269.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5167AF
RGBrgb(81, 103, 175)
HSLhsl(226, 37%, 50%)
HSVhsv(226, 54%, 69%)
CMYKcmyk(53.7%, 41.1%, 0%, 31.4%)
CIE-LABlab(45.00, 13.01, -41.00)
CIE-LCHlch(45.00, 43.02, 287.61°)
OKLaboklab(53.05% -0.0013 -0.1163)
OKLCHoklch(53.05% 0.116 269.3)
XYZxyz(15.9789, 14.5439, 42.5144)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167AF #AF9951
analogous
#5196AF #5167AF #6A51AF
triadic
#5167AF #AF5167 #67AF51
tetradic
#5167AF #AF5196 #AF9951 #51AF6A
square
#5167AF #AF5196 #AF9951 #51AF6A
split-complementary
#5167AF #AF6A51 #96AF51
monochromatic
#2A365C #3D4E85 #5167AF #7B8CC2 #A5B0D6

Accessibility & contrast

On white

5.37
#5167AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5167AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167AF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167AF#FFFFFF#000000##FFFFFF
##5167AF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#3F67AD
Tritanopia (blue-blind)
#227782
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5167af;
/* rgb */ color: rgb(81, 103, 175);
/* oklch */ color: oklch(53.1% 0.116 269.3);
Tailwind
colors: {
  custom: {
    50: '#8892c7',
    500: '#5167af',
    950: '#000000',
  },
}
SCSS
$custom: #5167af;
$custom-light: #8892c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5167af",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 175
  },
  "hsl": {
    "h": 225.957,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.11627,
    "h": 269.3
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#5167AF
secondary
#C3B999
accent
#B25BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #5167AF

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

Preview Lab → · Contrast checker → · Palette generator →

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