#5167DA#5167DA

#5167DA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.177 H 271.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5167DA
RGBrgb(81, 103, 218)
HSLhsl(230, 65%, 59%)
HSVhsv(230, 63%, 85%)
CMYKcmyk(62.8%, 52.8%, 0%, 14.5%)
CIE-LABlab(47.64, 27.47, -61.57)
CIE-LCHlch(47.64, 67.42, 294.04°)
OKLaboklab(55.9% 0.0043 -0.1767)
OKLCHoklch(55.9% 0.177 271.4)
XYZxyz(20.8942, 16.5100, 68.4017)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167DA #DAC451
analogous
#51ABDA #5167DA #7F51DA
triadic
#5167DA #DA5167 #67DA51
tetradic
#5167DA #DA51AB #DAC451 #51DA7F
square
#5167DA #DA51AB #DAC451 #51DA7F
split-complementary
#5167DA #DA7F51 #ABDA51
monochromatic
#1F3192 #2A42C4 #5167DA #8393E5 #B6BFEF

Accessibility & contrast

On white

4.88
#5167DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5167DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167DA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167DA#FFFFFF#000000##FFFFFF
##5167DA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5167da;
/* rgb */ color: rgb(81, 103, 218);
/* oklch */ color: oklch(55.9% 0.177 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f92e6',
    500: '#5167da',
    950: '#000000',
  },
}
SCSS
$custom: #5167da;
$custom-light: #8f92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5167da",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 218
  },
  "hsl": {
    "h": 230.365,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.17674,
    "h": 271.4
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#5167DA
secondary
#DED6A8
accent
#CD40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5167DA

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

Preview Lab → · Contrast checker → · Palette generator →

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