#5146DB#5146DB

#5146DB is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.218 H 278.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5146DB
RGBrgb(81, 70, 219)
HSLhsl(244, 67%, 57%)
HSVhsv(244, 68%, 86%)
CMYKcmyk(63%, 68%, 0%, 14.1%)
CIE-LABlab(39.99, 47.74, -74.60)
CIE-LCHlch(39.99, 88.57, 302.62°)
OKLaboklab(50.29% 0.0319 -0.2152)
OKLCHoklch(50.29% 0.218 278.4)
XYZxyz(18.3656, 11.2427, 68.2063)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5146DB #D0DB46
analogous
#4685DB #5146DB #9C46DB
triadic
#5146DB #DB5146 #46DB51
tetradic
#5146DB #DB4685 #D0DB46 #46DB9C
square
#5146DB #DB4685 #D0DB46 #46DB9C
split-complementary
#5146DB #DB9C46 #85DB46
monochromatic
#231B8B #3025BF #5146DB #8179E5 #B1ACEF

Accessibility & contrast

On white

6.46
#5146DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5146DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5146DB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5146DB#FFFFFF#000000##FFFFFF
##5146DB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5146db;
/* rgb */ color: rgb(81, 70, 219);
/* oklch */ color: oklch(50.3% 0.218 278.4);
Tailwind
colors: {
  custom: {
    50: '#917be7',
    500: '#5146db',
    950: '#000000',
  },
}
SCSS
$custom: #5146db;
$custom-light: #917be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5146db",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 244.43,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.21753,
    "h": 278.4
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#5146DB
secondary
#D8DDA0
accent
#EA3DDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5146DB

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

Preview Lab → · Contrast checker → · Palette generator →

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