#5167A6#5167A6

#5167A6 is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.5% C 0.103 H 268.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5167A6
RGBrgb(81, 103, 166)
HSLhsl(224, 34%, 48%)
HSVhsv(224, 51%, 65%)
CMYKcmyk(51.2%, 38%, 0%, 34.9%)
CIE-LABlab(44.52, 10.08, -36.48)
CIE-LCHlch(44.52, 37.85, 285.44°)
OKLaboklab(52.52% -0.0033 -0.103)
OKLCHoklch(52.52% 0.103 268.2)
XYZxyz(15.1243, 14.2020, 38.0133)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167A6 #A69051
analogous
#5191A6 #5167A6 #6551A6
triadic
#5167A6 #A65167 #67A651
tetradic
#5167A6 #A65191 #A69051 #51A665
square
#5167A6 #A65191 #A69051 #51A665
split-complementary
#5167A6 #A66551 #91A651
monochromatic
#293454 #3D4D7D #5167A6 #7789BD #A1ADD1

Accessibility & contrast

On white

5.47
#5167A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5167A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167A6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167A6#FFFFFF#000000##FFFFFF
##5167A61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DA9
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#2C747E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5167a6;
/* rgb */ color: rgb(81, 103, 166);
/* oklch */ color: oklch(52.5% 0.103 268.2);
Tailwind
colors: {
  custom: {
    50: '#8792c1',
    500: '#5167a6',
    950: '#000000',
  },
}
SCSS
$custom: #5167a6;
$custom-light: #8792c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5167a6",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 166
  },
  "hsl": {
    "h": 224.471,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.1031,
    "h": 268.2
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#5167A6
secondary
#BEB395
accent
#AE5DCA
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5167A6

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

Preview Lab → · Contrast checker → · Palette generator →

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