#5169EB#5169EB

#5169EB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.5% C 0.197 H 271.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5169EB
RGBrgb(81, 105, 235)
HSLhsl(231, 79%, 62%)
HSVhsv(231, 66%, 92%)
CMYKcmyk(65.5%, 55.3%, 0%, 7.8%)
CIE-LABlab(49.31, 32.01, -68.46)
CIE-LCHlch(49.31, 75.57, 295.06°)
OKLaboklab(57.53% 0.0034 -0.1969)
OKLCHoklch(57.53% 0.197 271)
XYZxyz(23.4352, 17.8485, 80.7912)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169EB #EBD351
analogous
#51B6EB #5169EB #8651EB
triadic
#5169EB #EB5169 #69EB51
tetradic
#5169EB #EB51B6 #EBD351 #51EB86
square
#5169EB #EB51B6 #EBD351 #51EB86
split-complementary
#5169EB #EB8651 #B6EB51
monochromatic
#142CAE #1A3AE5 #5169EB #8898F1 #BFC8F8

Accessibility & contrast

On white

4.59
#5169EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5169EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5169EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169EB#FFFFFF#000000##FFFFFF
##5169EB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5169eb;
/* rgb */ color: rgb(81, 105, 235);
/* oklch */ color: oklch(57.5% 0.197 271.0);
Tailwind
colors: {
  custom: {
    50: '#9293f2',
    500: '#5169eb',
    950: '#000000',
  },
}
SCSS
$custom: #5169eb;
$custom-light: #9293f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5169eb",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 235
  },
  "hsl": {
    "h": 230.649,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.19696,
    "h": 271
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#5169EB
secondary
#E8DFB0
accent
#BB0ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5169EB

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

Preview Lab → · Contrast checker → · Palette generator →

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