#5169CE#5169CE

#5169CE is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.5% C 0.158 H 270.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5169CE
RGBrgb(81, 105, 206)
HSLhsl(228, 56%, 56%)
HSVhsv(228, 61%, 81%)
CMYKcmyk(60.7%, 49%, 0%, 19.2%)
CIE-LABlab(47.37, 22.14, -55.15)
CIE-LCHlch(47.37, 59.43, 291.87°)
OKLaboklab(55.46% 0.0013 -0.1578)
OKLCHoklch(55.46% 0.158 270.5)
XYZxyz(19.5818, 16.3071, 60.4962)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5169CE #CEB651
analogous
#51A8CE #5169CE #7851CE
triadic
#5169CE #CE5169 #69CE51
tetradic
#5169CE #CE51A8 #CEB651 #51CE78
square
#5169CE #CE51A8 #CEB651 #51CE78
split-complementary
#5169CE #CE7851 #A8CE51
monochromatic
#243680 #324AB0 #5169CE #8192DB #B1BBE9

Accessibility & contrast

On white

4.93
#5169CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5169CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5169CE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5169CE#FFFFFF#000000##FFFFFF
##5169CE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#1B6BCC
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5169ce;
/* rgb */ color: rgb(81, 105, 206);
/* oklch */ color: oklch(55.5% 0.158 270.5);
Tailwind
colors: {
  custom: {
    50: '#8d93de',
    500: '#5169ce',
    950: '#000000',
  },
}
SCSS
$custom: #5169ce;
$custom-light: #8d93de;
$custom-dark: #000000;
JSON
{
  "hex": "#5169ce",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 206
  },
  "hsl": {
    "h": 228.48,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.15779,
    "h": 270.5
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#5169CE
secondary
#D7CDA4
accent
#C248DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5169CE

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

Preview Lab → · Contrast checker → · Palette generator →

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