#5167E5#5167E5

#5167E5 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.7% C 0.191 H 271.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5167E5
RGBrgb(81, 103, 229)
HSLhsl(231, 74%, 61%)
HSVhsv(231, 65%, 90%)
CMYKcmyk(64.6%, 55%, 0%, 10.2%)
CIE-LABlab(48.39, 31.21, -66.57)
CIE-LCHlch(48.39, 73.53, 295.12°)
OKLaboklab(56.71% 0.0049 -0.1914)
OKLCHoklch(56.71% 0.191 271.5)
XYZxyz(22.3817, 17.1050, 76.2356)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167E5 #E5CF51
analogous
#51B1E5 #5167E5 #8551E5
triadic
#5167E5 #E55167 #67E551
tetradic
#5167E5 #E551B1 #E5CF51 #51E585
square
#5167E5 #E551B1 #E5CF51 #51E585
split-complementary
#5167E5 #E58551 #B1E551
monochromatic
#182DA3 #203CD8 #5167E5 #8696ED #BBC4F5

Accessibility & contrast

On white

4.75
#5167E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5167E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167E5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167E5#FFFFFF#000000##FFFFFF
##5167E51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5167e5;
/* rgb */ color: rgb(81, 103, 229);
/* oklch */ color: oklch(56.7% 0.191 271.5);
Tailwind
colors: {
  custom: {
    50: '#9192ee',
    500: '#5167e5',
    950: '#000000',
  },
}
SCSS
$custom: #5167e5;
$custom-light: #9192ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5167e5",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 231.081,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.19147,
    "h": 271.5
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5167E5

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

Preview Lab → · Contrast checker → · Palette generator →

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