#5167A3#5167A3

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

Color values

HEX#5167A3
RGBrgb(81, 103, 163)
HSLhsl(224, 34%, 48%)
HSVhsv(224, 50%, 64%)
CMYKcmyk(50.3%, 36.8%, 0%, 36.1%)
CIE-LABlab(44.37, 9.11, -34.96)
CIE-LCHlch(44.37, 36.12, 284.61°)
OKLaboklab(52.35% -0.004 -0.0986)
OKLCHoklch(52.35% 0.099 267.7)
XYZxyz(14.8523, 14.0932, 36.5809)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167A3 #A38D51
analogous
#5190A3 #5167A3 #6451A3
triadic
#5167A3 #A35167 #67A351
tetradic
#5167A3 #A35190 #A38D51 #51A364
square
#5167A3 #A35190 #A38D51 #51A364
split-complementary
#5167A3 #A36451 #90A351
monochromatic
#283351 #3D4D7A #5167A3 #7689BB #9FACCF

Accessibility & contrast

On white

5.50
#5167A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5167A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167A3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167A3#FFFFFF#000000##FFFFFF
##5167A31.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#2E747D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5167a3;
/* rgb */ color: rgb(81, 103, 163);
/* oklch */ color: oklch(52.4% 0.099 267.7);
Tailwind
colors: {
  custom: {
    50: '#8792be',
    500: '#5167a3',
    950: '#000000',
  },
}
SCSS
$custom: #5167a3;
$custom-light: #8792be;
$custom-dark: #000000;
JSON
{
  "hex": "#5167a3",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 163
  },
  "hsl": {
    "h": 223.902,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.09869,
    "h": 267.7
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5167A3

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

Preview Lab → · Contrast checker → · Palette generator →

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