#5169DB#5169DB

#5169DB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.4% C 0.176 H 270.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5169DB
RGBrgb(81, 105, 219)
HSLhsl(230, 66%, 59%)
HSVhsv(230, 63%, 86%)
CMYKcmyk(63%, 52.1%, 0%, 14.1%)
CIE-LABlab(48.22, 26.56, -61.20)
CIE-LCHlch(48.22, 66.72, 293.46°)
OKLaboklab(56.36% 0.0025 -0.1756)
OKLCHoklch(56.36% 0.176 270.8)
XYZxyz(21.2268, 16.9651, 69.1601)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169DB #DBC351
analogous
#51AEDB #5169DB #7E51DB
triadic
#5169DB #DB5169 #69DB51
tetradic
#5169DB #DB51AE #DBC351 #51DB7E
square
#5169DB #DB51AE #DBC351 #51DB7E
split-complementary
#5169DB #DB7E51 #AEDB51
monochromatic
#1E3393 #2944C6 #5169DB #8495E5 #B6C0F0

Accessibility & contrast

On white

4.78
#5169DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5169DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169DB#FFFFFF#000000##FFFFFF
##5169DB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2279DF
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#008498
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5169db;
/* rgb */ color: rgb(81, 105, 219);
/* oklch */ color: oklch(56.4% 0.176 270.8);
Tailwind
colors: {
  custom: {
    50: '#8f93e7',
    500: '#5169db',
    950: '#000000',
  },
}
SCSS
$custom: #5169db;
$custom-light: #8f93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5169db",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 219
  },
  "hsl": {
    "h": 229.565,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.17561,
    "h": 270.8
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#5169DB
secondary
#DFD6A9
accent
#CB3FE9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5169DB

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

Preview Lab → · Contrast checker → · Palette generator →

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