#5167D3#5167D3

#5167D3 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.167 H 271.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5167D3
RGBrgb(81, 103, 211)
HSLhsl(230, 60%, 57%)
HSVhsv(230, 62%, 83%)
CMYKcmyk(61.6%, 51.2%, 0%, 17.3%)
CIE-LABlab(47.17, 25.09, -58.34)
CIE-LCHlch(47.17, 63.50, 293.27°)
OKLaboklab(55.41% 0.0038 -0.1672)
OKLCHoklch(55.41% 0.167 271.3)
XYZxyz(19.9975, 16.1513, 63.6791)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167D3 #D3BD51
analogous
#51A8D3 #5167D3 #7C51D3
triadic
#5167D3 #D35167 #67D351
tetradic
#5167D3 #D351A8 #D3BD51 #51D37C
square
#5167D3 #D351A8 #D3BD51 #51D37C
split-complementary
#5167D3 #D37C51 #A8D351
monochromatic
#223387 #2F46B8 #5167D3 #8292DF #B3BCEC

Accessibility & contrast

On white

4.96
#5167D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5167D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167D3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167D3#FFFFFF#000000##FFFFFF
##5167D31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2976D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5167d3;
/* rgb */ color: rgb(81, 103, 211);
/* oklch */ color: oklch(55.4% 0.167 271.3);
Tailwind
colors: {
  custom: {
    50: '#8e92e1',
    500: '#5167d3',
    950: '#000000',
  },
}
SCSS
$custom: #5167d3;
$custom-light: #8e92e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5167d3",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 211
  },
  "hsl": {
    "h": 229.846,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.16721,
    "h": 271.3
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#5167D3
secondary
#DAD1A6
accent
#C845E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5167D3

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

Preview Lab → · Contrast checker → · Palette generator →

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