#5169E1#5169E1

#5169E1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.8% C 0.184 H 270.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5169E1
RGBrgb(81, 105, 225)
HSLhsl(230, 71%, 60%)
HSVhsv(230, 64%, 88%)
CMYKcmyk(64%, 53.3%, 0%, 11.8%)
CIE-LABlab(48.62, 28.61, -63.95)
CIE-LCHlch(48.62, 70.06, 294.10°)
OKLaboklab(56.79% 0.0029 -0.1837)
OKLCHoklch(56.79% 0.184 270.9)
XYZxyz(22.0309, 17.2868, 73.3952)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169E1 #E1C951
analogous
#51B1E1 #5169E1 #8151E1
triadic
#5169E1 #E15169 #69E151
tetradic
#5169E1 #E151B1 #E1C951 #51E181
square
#5169E1 #E151B1 #E1C951 #51E181
split-complementary
#5169E1 #E18151 #B1E151
monochromatic
#1B319D #2441D1 #5169E1 #8596EA #B9C3F3

Accessibility & contrast

On white

4.71
#5169E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5169E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169E1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169E1#FFFFFF#000000##FFFFFF
##5169E11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#147AE5
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5169e1;
/* rgb */ color: rgb(81, 105, 225);
/* oklch */ color: oklch(56.8% 0.184 270.9);
Tailwind
colors: {
  custom: {
    50: '#9093eb',
    500: '#5169e1',
    950: '#000000',
  },
}
SCSS
$custom: #5169e1;
$custom-light: #9093eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5169e1",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 225
  },
  "hsl": {
    "h": 230,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.18368,
    "h": 270.9
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#5169E1
secondary
#E3D9AB
accent
#D03AED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5169E1

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

Preview Lab → · Contrast checker → · Palette generator →

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