#5169DA#5169DA

#5169DA is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.3% C 0.174 H 270.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5169DA
RGBrgb(81, 105, 218)
HSLhsl(229, 65%, 59%)
HSVhsv(229, 63%, 85%)
CMYKcmyk(62.8%, 51.8%, 0%, 14.5%)
CIE-LABlab(48.15, 26.22, -60.74)
CIE-LCHlch(48.15, 66.16, 293.35°)
OKLaboklab(56.29% 0.0024 -0.1742)
OKLCHoklch(56.29% 0.174 270.8)
XYZxyz(21.0955, 16.9126, 68.4688)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169DA #DAC251
analogous
#51ADDA #5169DA #7D51DA
triadic
#5169DA #DA5169 #69DA51
tetradic
#5169DA #DA51AD #DAC251 #51DA7D
square
#5169DA #DA51AD #DAC251 #51DA7D
split-complementary
#5169DA #DA7D51 #ADDA51
monochromatic
#1F3392 #2A45C4 #5169DA #8395E5 #B6C0EF

Accessibility & contrast

On white

4.79
#5169DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5169DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169DA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169DA#FFFFFF#000000##FFFFFF
##5169DA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5169da;
/* rgb */ color: rgb(81, 105, 218);
/* oklch */ color: oklch(56.3% 0.174 270.8);
Tailwind
colors: {
  custom: {
    50: '#8f93e6',
    500: '#5169da',
    950: '#000000',
  },
}
SCSS
$custom: #5169da;
$custom-light: #8f93e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5169da",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 218
  },
  "hsl": {
    "h": 229.489,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.17425,
    "h": 270.8
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#5169DA
secondary
#DED5A8
accent
#CA40E8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5169DA

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

Preview Lab → · Contrast checker → · Palette generator →

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