#5169E6#5169E6

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

Color values

HEX#5169E6
RGBrgb(81, 105, 230)
HSLhsl(230, 75%, 61%)
HSVhsv(230, 65%, 90%)
CMYKcmyk(64.8%, 54.3%, 0%, 9.8%)
CIE-LABlab(48.96, 30.31, -66.21)
CIE-LCHlch(48.96, 72.82, 294.60°)
OKLaboklab(57.16% 0.0032 -0.1903)
OKLCHoklch(57.16% 0.19 271)
XYZxyz(22.7230, 17.5636, 77.0402)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169E6 #E6CE51
analogous
#51B3E6 #5169E6 #8351E6
triadic
#5169E6 #E65169 #69E651
tetradic
#5169E6 #E651B3 #E6CE51 #51E683
square
#5169E6 #E651B3 #E6CE51 #51E683
split-complementary
#5169E6 #E68351 #B3E651
monochromatic
#182EA5 #1F3EDA #5169E6 #8797EE #BCC5F5

Accessibility & contrast

On white

4.65
#5169E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5169E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5169E6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169E6#FFFFFF#000000##FFFFFF
##5169E61.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5169e6;
/* rgb */ color: rgb(81, 105, 230);
/* oklch */ color: oklch(57.2% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#9193ef',
    500: '#5169e6',
    950: '#000000',
  },
}
SCSS
$custom: #5169e6;
$custom-light: #9193ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5169e6",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 230
  },
  "hsl": {
    "h": 230.336,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.19035,
    "h": 271
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#5169E6
secondary
#E5DCAD
accent
#B70ED7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5169E6

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

Preview Lab → · Contrast checker → · Palette generator →

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