#5167A4#5167A4

#5167A4 is a mid, moderate blue. Relative luminance 0.141; OKLCH L 52.4% C 0.100 H 267.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5167A4
RGBrgb(81, 103, 164)
HSLhsl(224, 34%, 48%)
HSVhsv(224, 51%, 64%)
CMYKcmyk(50.6%, 37.2%, 0%, 35.7%)
CIE-LABlab(44.42, 9.43, -35.47)
CIE-LCHlch(44.42, 36.70, 284.89°)
OKLaboklab(52.41% -0.0038 -0.1001)
OKLCHoklch(52.41% 0.1 267.8)
XYZxyz(14.9422, 14.1292, 37.0546)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167A4 #A48E51
analogous
#5191A4 #5167A4 #6451A4
triadic
#5167A4 #A45167 #67A451
tetradic
#5167A4 #A45191 #A48E51 #51A464
square
#5167A4 #A45191 #A48E51 #51A464
split-complementary
#5167A4 #A46451 #91A451
monochromatic
#293452 #3D4D7B #5167A4 #7789BC #A0ACD0

Accessibility & contrast

On white

5.49
#5167A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5167A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167A4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167A4#FFFFFF#000000##FFFFFF
##5167A41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#2D747E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5167a4;
/* rgb */ color: rgb(81, 103, 164);
/* oklch */ color: oklch(52.4% 0.100 267.8);
Tailwind
colors: {
  custom: {
    50: '#8792bf',
    500: '#5167a4',
    950: '#000000',
  },
}
SCSS
$custom: #5167a4;
$custom-light: #8792bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5167a4",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 164
  },
  "hsl": {
    "h": 224.096,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.10016,
    "h": 267.8
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#5167A4
secondary
#BDB294
accent
#AD5ECA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5167A4

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

Preview Lab → · Contrast checker → · Palette generator →

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