#5167CF#5167CF

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

Color values

HEX#5167CF
RGBrgb(81, 103, 207)
HSLhsl(230, 57%, 56%)
HSVhsv(230, 61%, 81%)
CMYKcmyk(60.9%, 50.2%, 0%, 18.8%)
CIE-LABlab(46.91, 23.73, -56.47)
CIE-LCHlch(46.91, 61.25, 292.79°)
OKLaboklab(55.13% 0.0034 -0.1617)
OKLCHoklch(55.13% 0.162 271.2)
XYZxyz(19.5023, 15.9532, 61.0709)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167CF #CFB951
analogous
#51A6CF #5167CF #7A51CF
triadic
#5167CF #CF5167 #67CF51
tetradic
#5167CF #CF51A6 #CFB951 #51CF7A
square
#5167CF #CF51A6 #CFB951 #51CF7A
split-complementary
#5167CF #CF7A51 #A6CF51
monochromatic
#243482 #3148B2 #5167CF #8191DC #B1BBE9

Accessibility & contrast

On white

5.01
#5167CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5167CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167CF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167CF#FFFFFF#000000##FFFFFF
##5167CF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5167cf;
/* rgb */ color: rgb(81, 103, 207);
/* oklch */ color: oklch(55.1% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#8d92de',
    500: '#5167cf',
    950: '#000000',
  },
}
SCSS
$custom: #5167cf;
$custom-light: #8d92de;
$custom-dark: #000000;
JSON
{
  "hex": "#5167cf",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 207
  },
  "hsl": {
    "h": 229.524,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.16171,
    "h": 271.2
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#5167CF
secondary
#D8CFA4
accent
#C548E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5167CF

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

Preview Lab → · Contrast checker → · Palette generator →

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