#5169DE#5169DE

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

Color values

HEX#5169DE
RGBrgb(81, 105, 222)
HSLhsl(230, 68%, 59%)
HSVhsv(230, 64%, 87%)
CMYKcmyk(63.5%, 52.7%, 0%, 12.9%)
CIE-LABlab(48.42, 27.58, -62.58)
CIE-LCHlch(48.42, 68.39, 293.79°)
OKLaboklab(56.58% 0.0027 -0.1796)
OKLCHoklch(56.58% 0.18 270.9)
XYZxyz(21.6253, 17.1245, 71.2588)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169DE #DEC651
analogous
#51B0DE #5169DE #8051DE
triadic
#5169DE #DE5169 #69DE51
tetradic
#5169DE #DE51B0 #DEC651 #51DE80
square
#5169DE #DE51B0 #DEC651 #51DE80
split-complementary
#5169DE #DE8051 #B0DE51
monochromatic
#1D3298 #2743CB #5169DE #8495E8 #B8C2F2

Accessibility & contrast

On white

4.75
#5169DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5169DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169DE#FFFFFF#000000##FFFFFF
##5169DE1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C7AE2
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5169de;
/* rgb */ color: rgb(81, 105, 222);
/* oklch */ color: oklch(56.6% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#9093e9',
    500: '#5169de',
    950: '#000000',
  },
}
SCSS
$custom: #5169de;
$custom-light: #9093e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5169de",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 222
  },
  "hsl": {
    "h": 229.787,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.17965,
    "h": 270.9
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#5169DE
secondary
#E1D8AA
accent
#CD3DEB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5169DE

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

Preview Lab → · Contrast checker → · Palette generator →

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