#5167CD#5167CD

#5167CD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.0% C 0.159 H 271.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5167CD
RGBrgb(81, 103, 205)
HSLhsl(229, 55%, 56%)
HSVhsv(229, 60%, 80%)
CMYKcmyk(60.5%, 49.8%, 0%, 19.6%)
CIE-LABlab(46.78, 23.05, -55.53)
CIE-LCHlch(46.78, 60.12, 292.55°)
OKLaboklab(54.99% 0.0032 -0.1589)
OKLCHoklch(54.99% 0.159 271.2)
XYZxyz(19.2594, 15.8560, 59.7914)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167CD #CDB751
analogous
#51A5CD #5167CD #7951CD
triadic
#5167CD #CD5167 #67CD51
tetradic
#5167CD #CD51A5 #CDB751 #51CD79
square
#5167CD #CD51A5 #CDB751 #51CD79
split-complementary
#5167CD #CD7951 #A5CD51
monochromatic
#25357F #3248AF #5167CD #8191DB #B0BAE8

Accessibility & contrast

On white

5.03
#5167CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5167CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167CD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167CD#FFFFFF#000000##FFFFFF
##5167CD1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#166ACB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5167cd;
/* rgb */ color: rgb(81, 103, 205);
/* oklch */ color: oklch(55.0% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d92dd',
    500: '#5167cd',
    950: '#000000',
  },
}
SCSS
$custom: #5167cd;
$custom-light: #8d92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5167cd",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 205
  },
  "hsl": {
    "h": 229.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.15894,
    "h": 271.2
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#5167CD
secondary
#D7CDA3
accent
#C449DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5167CD

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

Preview Lab → · Contrast checker → · Palette generator →

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