#5146DE#5146DE

#5146DE is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.221 H 278.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5146DE
RGBrgb(81, 70, 222)
HSLhsl(244, 70%, 57%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(63.5%, 68.5%, 0%, 12.9%)
CIE-LABlab(40.25, 48.68, -75.88)
CIE-LCHlch(40.25, 90.16, 302.68°)
OKLaboklab(50.56% 0.0314 -0.2189)
OKLCHoklch(50.56% 0.221 278.2)
XYZxyz(18.7641, 11.4021, 70.3051)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5146DE #D3DE46
analogous
#4687DE #5146DE #9D46DE
triadic
#5146DE #DE5146 #46DE51
tetradic
#5146DE #DE4687 #D3DE46 #46DE9D
square
#5146DE #DE4687 #D3DE46 #46DE9D
split-complementary
#5146DE #DE9D46 #87DE46
monochromatic
#221A90 #2F23C4 #5146DE #827AE7 #B3AEF1

Accessibility & contrast

On white

6.40
#5146DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5146DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5146DE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5146DE#FFFFFF#000000##FFFFFF
##5146DE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5146de;
/* rgb */ color: rgb(81, 70, 222);
/* oklch */ color: oklch(50.6% 0.221 278.2);
Tailwind
colors: {
  custom: {
    50: '#927be9',
    500: '#5146de',
    950: '#000000',
  },
}
SCSS
$custom: #5146de;
$custom-light: #927be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5146de",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 244.342,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.22119,
    "h": 278.2
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#5146DE
secondary
#DADFA1
accent
#ED3BE0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5146DE

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

Preview Lab → · Contrast checker → · Palette generator →

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