#5167E6#5167E6

#5167E6 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.193 H 271.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5167E6
RGBrgb(81, 103, 230)
HSLhsl(231, 75%, 61%)
HSVhsv(231, 65%, 90%)
CMYKcmyk(64.8%, 55.2%, 0%, 9.8%)
CIE-LABlab(48.46, 31.55, -67.02)
CIE-LCHlch(48.46, 74.08, 295.21°)
OKLaboklab(56.79% 0.0049 -0.1927)
OKLCHoklch(56.79% 0.193 271.5)
XYZxyz(22.5217, 17.1610, 76.9731)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167E6 #E6D051
analogous
#51B1E6 #5167E6 #8551E6
triadic
#5167E6 #E65167 #67E651
tetradic
#5167E6 #E651B1 #E6D051 #51E685
square
#5167E6 #E651B1 #E6D051 #51E685
split-complementary
#5167E6 #E68551 #B1E651
monochromatic
#182DA5 #1F3BDA #5167E6 #8796EE #BCC4F5

Accessibility & contrast

On white

4.74
#5167E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5167E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167E6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167E6#FFFFFF#000000##FFFFFF
##5167E61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5167e6;
/* rgb */ color: rgb(81, 103, 230);
/* oklch */ color: oklch(56.8% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#9192ef',
    500: '#5167e6',
    950: '#000000',
  },
}
SCSS
$custom: #5167e6;
$custom-light: #9192ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5167e6",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 230
  },
  "hsl": {
    "h": 231.141,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.19279,
    "h": 271.5
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#5167E6
secondary
#E5DDAD
accent
#B90ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5167E6

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

Preview Lab → · Contrast checker → · Palette generator →

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