#5169E7#5169E7

#5169E7 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.2% C 0.192 H 271.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5169E7
RGBrgb(81, 105, 231)
HSLhsl(230, 76%, 61%)
HSVhsv(230, 65%, 91%)
CMYKcmyk(64.9%, 54.5%, 0%, 9.4%)
CIE-LABlab(49.03, 30.65, -66.66)
CIE-LCHlch(49.03, 73.37, 294.69°)
OKLaboklab(57.23% 0.0032 -0.1916)
OKLCHoklch(57.23% 0.192 271)
XYZxyz(22.8639, 17.6199, 77.7819)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169E7 #E7CF51
analogous
#51B4E7 #5169E7 #8451E7
triadic
#5169E7 #E75169 #69E751
tetradic
#5169E7 #E751B4 #E7CF51 #51E784
square
#5169E7 #E751B4 #E7CF51 #51E784
split-complementary
#5169E7 #E78451 #B4E751
monochromatic
#172EA7 #1E3DDC #5169E7 #8797EE #BDC6F6

Accessibility & contrast

On white

4.64
#5169E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5169E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5169E7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169E7#FFFFFF#000000##FFFFFF
##5169E71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5169e7;
/* rgb */ color: rgb(81, 105, 231);
/* oklch */ color: oklch(57.2% 0.192 271.0);
Tailwind
colors: {
  custom: {
    50: '#9193ef',
    500: '#5169e7',
    950: '#000000',
  },
}
SCSS
$custom: #5169e7;
$custom-light: #9193ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5169e7",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 231
  },
  "hsl": {
    "h": 230.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.19168,
    "h": 271
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#5169E7
secondary
#E6DDAE
accent
#B80ED8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5169E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5169E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva