#5167DD#5167DD

#5167DD is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.181 H 271.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5167DD
RGBrgb(81, 103, 221)
HSLhsl(231, 67%, 59%)
HSVhsv(231, 63%, 87%)
CMYKcmyk(63.3%, 53.4%, 0%, 13.3%)
CIE-LABlab(47.84, 28.49, -62.95)
CIE-LCHlch(47.84, 69.09, 294.35°)
OKLaboklab(56.12% 0.0045 -0.1807)
OKLCHoklch(56.12% 0.181 271.4)
XYZxyz(21.2904, 16.6684, 70.4880)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167DD #DDC751
analogous
#51ADDD #5167DD #8151DD
triadic
#5167DD #DD5167 #67DD51
tetradic
#5167DD #DD51AD #DDC751 #51DD81
square
#5167DD #DD51AD #DDC751 #51DD81
split-complementary
#5167DD #DD8151 #ADDD51
monochromatic
#1D3096 #2741C9 #5167DD #8494E7 #B7C0F1

Accessibility & contrast

On white

4.85
#5167DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5167DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167DD#FFFFFF#000000##FFFFFF
##5167DD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1478E1
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5167dd;
/* rgb */ color: rgb(81, 103, 221);
/* oklch */ color: oklch(56.1% 0.181 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f92e8',
    500: '#5167dd',
    950: '#000000',
  },
}
SCSS
$custom: #5167dd;
$custom-light: #8f92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5167dd",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 230.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.1808,
    "h": 271.4
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#5167DD
secondary
#E0D8AA
accent
#CF3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5167DD

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

Preview Lab → · Contrast checker → · Palette generator →

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