#5146D0#5146D0

#5146D0 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.204 H 279.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5146D0
RGBrgb(81, 70, 208)
HSLhsl(245, 59%, 55%)
HSVhsv(245, 66%, 82%)
CMYKcmyk(61.1%, 66.3%, 0%, 18.4%)
CIE-LABlab(39.04, 44.28, -69.82)
CIE-LCHlch(39.04, 82.68, 302.38°)
OKLaboklab(49.32% 0.0333 -0.2012)
OKLCHoklch(49.32% 0.204 279.4)
XYZxyz(16.9650, 10.6824, 60.8302)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5146D0 #C5D046
analogous
#4680D0 #5146D0 #9646D0
triadic
#5146D0 #D05146 #46D051
tetradic
#5146D0 #D04680 #C5D046 #46D096
square
#5146D0 #D04680 #C5D046 #46D096
split-complementary
#5146D0 #D09646 #80D046
monochromatic
#27207C #362CAD #5146D0 #7F77DC #ADA8E9

Accessibility & contrast

On white

6.69
#5146D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5146D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5146D0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5146D0#FFFFFF#000000##FFFFFF
##5146D01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5146d0;
/* rgb */ color: rgb(81, 70, 208);
/* oklch */ color: oklch(49.3% 0.204 279.4);
Tailwind
colors: {
  custom: {
    50: '#8f7adf',
    500: '#5146d0',
    950: '#000000',
  },
}
SCSS
$custom: #5146d0;
$custom-light: #8f7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#5146d0",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 244.783,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.20393,
    "h": 279.4
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#5146D0
secondary
#D1D69C
accent
#E345D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5146D0

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

Preview Lab → · Contrast checker → · Palette generator →

#5146D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva