#5167CE#5167CE

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

Color values

HEX#5167CE
RGBrgb(81, 103, 206)
HSLhsl(229, 56%, 56%)
HSVhsv(229, 61%, 81%)
CMYKcmyk(60.7%, 50%, 0%, 19.2%)
CIE-LABlab(46.85, 23.39, -56.00)
CIE-LCHlch(46.85, 60.69, 292.67°)
OKLaboklab(55.06% 0.0033 -0.1603)
OKLCHoklch(55.06% 0.16 271.2)
XYZxyz(19.3804, 15.9045, 60.4291)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167CE #CEB851
analogous
#51A6CE #5167CE #7A51CE
triadic
#5167CE #CE5167 #67CE51
tetradic
#5167CE #CE51A6 #CEB851 #51CE7A
square
#5167CE #CE51A6 #CEB851 #51CE7A
split-complementary
#5167CE #CE7A51 #A6CE51
monochromatic
#243480 #3248B0 #5167CE #8191DB #B1BAE9

Accessibility & contrast

On white

5.02
#5167CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5167CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167CE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167CE#FFFFFF#000000##FFFFFF
##5167CE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5167ce;
/* rgb */ color: rgb(81, 103, 206);
/* oklch */ color: oklch(55.1% 0.160 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d92de',
    500: '#5167ce',
    950: '#000000',
  },
}
SCSS
$custom: #5167ce;
$custom-light: #8d92de;
$custom-dark: #000000;
JSON
{
  "hex": "#5167ce",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 206
  },
  "hsl": {
    "h": 229.44,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.16032,
    "h": 271.2
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#5167CE
secondary
#D7CEA4
accent
#C548DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5167CE

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

Preview Lab → · Contrast checker → · Palette generator →

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