#5167D7#5167D7

#5167D7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.173 H 271.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5167D7
RGBrgb(81, 103, 215)
HSLhsl(230, 63%, 58%)
HSVhsv(230, 62%, 84%)
CMYKcmyk(62.3%, 52.1%, 0%, 15.7%)
CIE-LABlab(47.44, 26.45, -60.19)
CIE-LCHlch(47.44, 65.74, 293.72°)
OKLaboklab(55.69% 0.0041 -0.1726)
OKLCHoklch(55.69% 0.173 271.4)
XYZxyz(20.5052, 16.3544, 66.3529)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167D7 #D7C151
analogous
#51AAD7 #5167D7 #7E51D7
triadic
#5167D7 #D75167 #67D751
tetradic
#5167D7 #D751AA #D7C151 #51D77E
square
#5167D7 #D751AA #D7C151 #51D77E
split-complementary
#5167D7 #D77E51 #AAD751
monochromatic
#20328D #2C44BF #5167D7 #8392E2 #B5BEEE

Accessibility & contrast

On white

4.92
#5167D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5167D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167D7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167D7#FFFFFF#000000##FFFFFF
##5167D71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2277DB
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5167d7;
/* rgb */ color: rgb(81, 103, 215);
/* oklch */ color: oklch(55.7% 0.173 271.4);
Tailwind
colors: {
  custom: {
    50: '#8e92e4',
    500: '#5167d7',
    950: '#000000',
  },
}
SCSS
$custom: #5167d7;
$custom-light: #8e92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5167d7",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 230.149,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.17268,
    "h": 271.4
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#5167D7
secondary
#DDD4A7
accent
#CB42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #5167D7

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

Preview Lab → · Contrast checker → · Palette generator →

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