#5167DB#5167DB

#5167DB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.178 H 271.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5167DB
RGBrgb(81, 103, 219)
HSLhsl(230, 66%, 59%)
HSVhsv(230, 63%, 86%)
CMYKcmyk(63%, 53%, 0%, 14.1%)
CIE-LABlab(47.70, 27.81, -62.03)
CIE-LCHlch(47.70, 67.98, 294.15°)
OKLaboklab(55.97% 0.0044 -0.178)
OKLCHoklch(55.97% 0.178 271.4)
XYZxyz(21.0255, 16.5625, 69.0930)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167DB #DBC551
analogous
#51ACDB #5167DB #8051DB
triadic
#5167DB #DB5167 #67DB51
tetradic
#5167DB #DB51AC #DBC551 #51DB80
square
#5167DB #DB51AC #DBC551 #51DB80
split-complementary
#5167DB #DB8051 #ACDB51
monochromatic
#1E3193 #2942C6 #5167DB #8493E5 #B6C0F0

Accessibility & contrast

On white

4.87
#5167DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5167DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167DB#FFFFFF#000000##FFFFFF
##5167DB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5167db;
/* rgb */ color: rgb(81, 103, 219);
/* oklch */ color: oklch(56.0% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f92e7',
    500: '#5167db',
    950: '#000000',
  },
}
SCSS
$custom: #5167db;
$custom-light: #8f92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5167db",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 230.435,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.17809,
    "h": 271.4
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#5167DB
secondary
#DFD6A9
accent
#CE3FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5167DB

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

Preview Lab → · Contrast checker → · Palette generator →

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