#5167C8#5167C8

#5167C8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.6% C 0.152 H 271.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5167C8
RGBrgb(81, 103, 200)
HSLhsl(229, 52%, 55%)
HSVhsv(229, 60%, 78%)
CMYKcmyk(59.5%, 48.5%, 0%, 21.6%)
CIE-LABlab(46.47, 21.36, -53.16)
CIE-LCHlch(46.47, 57.29, 291.89°)
OKLaboklab(54.65% 0.0026 -0.152)
OKLCHoklch(54.65% 0.152 271)
XYZxyz(18.6654, 15.6185, 56.6634)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167C8 #C8B251
analogous
#51A2C8 #5167C8 #7751C8
triadic
#5167C8 #C85167 #67C851
tetradic
#5167C8 #C851A2 #C8B251 #51C877
square
#5167C8 #C851A2 #C8B251 #51C877
split-complementary
#5167C8 #C87751 #A2C851
monochromatic
#263579 #354AA7 #5167C8 #8090D7 #AEB8E5

Accessibility & contrast

On white

5.09
#5167C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5167C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167C8#FFFFFF#000000##FFFFFF
##5167C81.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#2169C6
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5167c8;
/* rgb */ color: rgb(81, 103, 200);
/* oklch */ color: oklch(54.6% 0.152 271.0);
Tailwind
colors: {
  custom: {
    50: '#8c92d9',
    500: '#5167c8',
    950: '#000000',
  },
}
SCSS
$custom: #5167c8;
$custom-light: #8c92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5167c8",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 228.908,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.15198,
    "h": 271
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#5167C8
secondary
#D3CAA1
accent
#C14CDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5167C8

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

Preview Lab → · Contrast checker → · Palette generator →

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