#5167E9#5167E9

#5167E9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.197 H 271.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5167E9
RGBrgb(81, 103, 233)
HSLhsl(231, 78%, 62%)
HSVhsv(231, 65%, 91%)
CMYKcmyk(65.2%, 55.8%, 0%, 8.6%)
CIE-LABlab(48.67, 32.57, -68.37)
CIE-LCHlch(48.67, 75.73, 295.47°)
OKLaboklab(57.01% 0.005 -0.1967)
OKLCHoklch(57.01% 0.197 271.5)
XYZxyz(22.9466, 17.3309, 79.2109)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167E9 #E9D351
analogous
#51B3E9 #5167E9 #8751E9
triadic
#5167E9 #E95167 #67E951
tetradic
#5167E9 #E951B3 #E9D351 #51E987
square
#5167E9 #E951B3 #E9D351 #51E987
split-complementary
#5167E9 #E98751 #B3E951
monochromatic
#162BAA #1C39E0 #5167E9 #8796F0 #BEC6F7

Accessibility & contrast

On white

4.70
#5167E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5167E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167E9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167E9#FFFFFF#000000##FFFFFF
##5167E91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5167e9;
/* rgb */ color: rgb(81, 103, 233);
/* oklch */ color: oklch(57.0% 0.197 271.5);
Tailwind
colors: {
  custom: {
    50: '#9292f1',
    500: '#5167e9',
    950: '#000000',
  },
}
SCSS
$custom: #5167e9;
$custom-light: #9292f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5167e9",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 233
  },
  "hsl": {
    "h": 231.316,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.19675,
    "h": 271.5
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#5167E9
secondary
#E7DFAF
accent
#BC0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D17
muted
#7E7D85

Preview Lab

Preview with #5167E9

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

Preview Lab → · Contrast checker → · Palette generator →

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