#5167D9#5167D9

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

Color values

HEX#5167D9
RGBrgb(81, 103, 217)
HSLhsl(230, 64%, 58%)
HSVhsv(230, 63%, 85%)
CMYKcmyk(62.7%, 52.5%, 0%, 14.9%)
CIE-LABlab(47.57, 27.13, -61.11)
CIE-LCHlch(47.57, 66.86, 293.94°)
OKLaboklab(55.83% 0.0042 -0.1753)
OKLCHoklch(55.83% 0.175 271.4)
XYZxyz(20.7638, 16.4578, 67.7146)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5167D9 #D9C351
analogous
#51ABD9 #5167D9 #7F51D9
triadic
#5167D9 #D95167 #67D951
tetradic
#5167D9 #D951AB #D9C351 #51D97F
square
#5167D9 #D951AB #D9C351 #51D97F
split-complementary
#5167D9 #D97F51 #ABD951
monochromatic
#1F3290 #2A43C2 #5167D9 #8393E4 #B5BFEF

Accessibility & contrast

On white

4.89
#5167D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5167D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5167D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5167D9#FFFFFF#000000##FFFFFF
##5167D91.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DD
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#008296
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5167d9;
/* rgb */ color: rgb(81, 103, 217);
/* oklch */ color: oklch(55.8% 0.175 271.4);
Tailwind
colors: {
  custom: {
    50: '#8f92e5',
    500: '#5167d9',
    950: '#000000',
  },
}
SCSS
$custom: #5167d9;
$custom-light: #8f92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5167d9",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 217
  },
  "hsl": {
    "h": 230.294,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.17539,
    "h": 271.4
  },
  "luminance": 0.1646
}

Semantic roles & 50–950 ramp

primary
#5167D9
secondary
#DED5A8
accent
#CC41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5167D9

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

Preview Lab → · Contrast checker → · Palette generator →

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