#5167BE#5167BE

#5167BE is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.138 H 270.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5167BE
RGBrgb(81, 103, 190)
HSLhsl(228, 46%, 53%)
HSVhsv(228, 57%, 75%)
CMYKcmyk(57.4%, 45.8%, 0%, 25.5%)
CIE-LABlab(45.86, 17.99, -48.37)
CIE-LCHlch(45.86, 51.61, 290.41°)
OKLaboklab(53.99% 0.0013 -0.1379)
OKLCHoklch(53.99% 0.138 270.5)
XYZxyz(17.5348, 15.1662, 50.7086)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167BE #BEA851
analogous
#519DBE #5167BE #7151BE
triadic
#5167BE #BE5167 #67BE51
tetradic
#5167BE #BE519D #BEA851 #51BE71
square
#5167BE #BE519D #BEA851 #51BE71
split-complementary
#5167BE #BE7151 #9DBE51
monochromatic
#28366C #394C99 #5167BE #7E8ECF #AAB5DF

Accessibility & contrast

On white

5.21
#5167BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5167BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167BE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167BE#FFFFFF#000000##FFFFFF
##5167BE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C1
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#037A89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5167be;
/* rgb */ color: rgb(81, 103, 190);
/* oklch */ color: oklch(54.0% 0.138 270.5);
Tailwind
colors: {
  custom: {
    50: '#8a92d2',
    500: '#5167be',
    950: '#000000',
  },
}
SCSS
$custom: #5167be;
$custom-light: #8a92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5167be",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 190
  },
  "hsl": {
    "h": 227.89,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.13787,
    "h": 270.5
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

primary
#5167BE
secondary
#CDC39E
accent
#BB53D5
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0C14
muted
#7D7D82

Preview Lab

Preview with #5167BE

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

Preview Lab → · Contrast checker → · Palette generator →

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