#5169DD#5169DD

#5169DD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.5% C 0.178 H 270.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5169DD
RGBrgb(81, 105, 221)
HSLhsl(230, 67%, 59%)
HSVhsv(230, 63%, 87%)
CMYKcmyk(63.3%, 52.5%, 0%, 13.3%)
CIE-LABlab(48.35, 27.24, -62.12)
CIE-LCHlch(48.35, 67.83, 293.68°)
OKLaboklab(56.5% 0.0027 -0.1783)
OKLCHoklch(56.5% 0.178 270.9)
XYZxyz(21.4917, 17.0711, 70.5551)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169DD #DDC551
analogous
#51AFDD #5169DD #7F51DD
triadic
#5169DD #DD5169 #69DD51
tetradic
#5169DD #DD51AF #DDC551 #51DD7F
square
#5169DD #DD51AF #DDC551 #51DD7F
split-complementary
#5169DD #DD7F51 #AFDD51
monochromatic
#1D3296 #2743C9 #5169DD #8495E7 #B7C1F1

Accessibility & contrast

On white

4.76
#5169DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5169DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169DD#FFFFFF#000000##FFFFFF
##5169DD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E1
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5169dd;
/* rgb */ color: rgb(81, 105, 221);
/* oklch */ color: oklch(56.5% 0.178 270.9);
Tailwind
colors: {
  custom: {
    50: '#8f93e8',
    500: '#5169dd',
    950: '#000000',
  },
}
SCSS
$custom: #5169dd;
$custom-light: #8f93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5169dd",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 221
  },
  "hsl": {
    "h": 229.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.17831,
    "h": 270.9
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#5169DD
secondary
#E0D7AA
accent
#CD3EEA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5169DD

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

Preview Lab → · Contrast checker → · Palette generator →

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