#5167BF#5167BF

#5167BF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.139 H 270.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5167BF
RGBrgb(81, 103, 191)
HSLhsl(228, 46%, 53%)
HSVhsv(228, 58%, 75%)
CMYKcmyk(57.6%, 46.1%, 0%, 25.1%)
CIE-LABlab(45.92, 18.33, -48.85)
CIE-LCHlch(45.92, 52.18, 290.57°)
OKLaboklab(54.05% 0.0014 -0.1393)
OKLCHoklch(54.05% 0.139 270.6)
XYZxyz(17.6444, 15.2101, 51.2861)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167BF #BFA951
analogous
#519EBF #5167BF #7251BF
triadic
#5167BF #BF5167 #67BF51
tetradic
#5167BF #BF519E #BFA951 #51BF72
square
#5167BF #BF519E #BFA951 #51BF72
split-complementary
#5167BF #BF7251 #9EBF51
monochromatic
#28366D #394C9A #5167BF #7E8ECF #AAB5E0

Accessibility & contrast

On white

5.20
#5167BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5167BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167BF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167BF#FFFFFF#000000##FFFFFF
##5167BF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#2F68BD
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5167bf;
/* rgb */ color: rgb(81, 103, 191);
/* oklch */ color: oklch(54.1% 0.139 270.6);
Tailwind
colors: {
  custom: {
    50: '#8b92d3',
    500: '#5167bf',
    950: '#000000',
  },
}
SCSS
$custom: #5167bf;
$custom-light: #8b92d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5167bf",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 191
  },
  "hsl": {
    "h": 228,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54053,
    "c": 0.1393,
    "h": 270.6
  },
  "luminance": 0.15211
}

Semantic roles & 50–950 ramp

primary
#5167BF
secondary
#CEC49E
accent
#BB52D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #5167BF

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

Preview Lab → · Contrast checker → · Palette generator →

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