#5147DE#5147DE

#5147DE is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.220 H 278.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5147DE
RGBrgb(81, 71, 222)
HSLhsl(244, 70%, 57%)
HSVhsv(244, 68%, 87%)
CMYKcmyk(63.5%, 68%, 0%, 12.9%)
CIE-LABlab(40.46, 48.12, -75.54)
CIE-LCHlch(40.46, 89.57, 302.50°)
OKLaboklab(50.71% 0.0307 -0.2179)
OKLCHoklch(50.71% 0.22 278)
XYZxyz(18.8271, 11.5282, 70.3261)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5147DE #D4DE47
analogous
#4788DE #5147DE #9D47DE
triadic
#5147DE #DE5147 #47DE51
tetradic
#5147DE #DE4788 #D4DE47 #47DE9D
square
#5147DE #DE4788 #D4DE47 #47DE9D
split-complementary
#5147DE #DE9D47 #88DE47
monochromatic
#221A91 #2E23C5 #5147DE #827BE7 #B3AFF1

Accessibility & contrast

On white

6.35
#5147DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5147DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5147DE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5147DE#FFFFFF#000000##FFFFFF
##5147DE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.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: #5147de;
/* rgb */ color: rgb(81, 71, 222);
/* oklch */ color: oklch(50.7% 0.220 278.0);
Tailwind
colors: {
  custom: {
    50: '#927ce9',
    500: '#5147de',
    950: '#000000',
  },
}
SCSS
$custom: #5147de;
$custom-light: #927ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5147de",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 243.974,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.22011,
    "h": 278
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#5147DE
secondary
#DBDFA2
accent
#EC3BE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5147DE

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

Preview Lab → · Contrast checker → · Palette generator →

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