#5167DE#5167DE

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

Color values

HEX#5167DE
RGBrgb(81, 103, 222)
HSLhsl(231, 68%, 59%)
HSVhsv(231, 64%, 87%)
CMYKcmyk(63.5%, 53.6%, 0%, 12.9%)
CIE-LABlab(47.91, 28.83, -63.40)
CIE-LCHlch(47.91, 69.65, 294.45°)
OKLaboklab(56.19% 0.0046 -0.1821)
OKLCHoklch(56.19% 0.182 271.4)
XYZxyz(21.4240, 16.7219, 71.1917)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167DE #DEC851
analogous
#51AEDE #5167DE #8251DE
triadic
#5167DE #DE5167 #67DE51
tetradic
#5167DE #DE51AE #DEC851 #51DE82
square
#5167DE #DE51AE #DEC851 #51DE82
split-complementary
#5167DE #DE8251 #AEDE51
monochromatic
#1D3098 #2740CB #5167DE #8494E8 #B8C1F2

Accessibility & contrast

On white

4.83
#5167DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5167DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167DE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167DE#FFFFFF#000000##FFFFFF
##5167DE1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1178E2
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5167de;
/* rgb */ color: rgb(81, 103, 222);
/* oklch */ color: oklch(56.2% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#9092e9',
    500: '#5167de',
    950: '#000000',
  },
}
SCSS
$custom: #5167de;
$custom-light: #9092e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5167de",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 222
  },
  "hsl": {
    "h": 230.638,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.18214,
    "h": 271.4
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#5167DE
secondary
#E1D8AA
accent
#D03DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5167DE

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

Preview Lab → · Contrast checker → · Palette generator →

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