#5146E0#5146E0

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

Color values

HEX#5146E0
RGBrgb(81, 70, 224)
HSLhsl(244, 71%, 58%)
HSVhsv(244, 69%, 88%)
CMYKcmyk(63.8%, 68.8%, 0%, 12.2%)
CIE-LABlab(40.43, 49.31, -76.73)
CIE-LCHlch(40.43, 91.21, 302.72°)
OKLaboklab(50.74% 0.0312 -0.2214)
OKLCHoklch(50.74% 0.224 278)
XYZxyz(19.0337, 11.5099, 71.7252)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5146E0 #D5E046
analogous
#4688E0 #5146E0 #9E46E0
triadic
#5146E0 #E05146 #46E051
tetradic
#5146E0 #E04688 #D5E046 #46E09E
square
#5146E0 #E04688 #D5E046 #46E09E
split-complementary
#5146E0 #E09E46 #88E046
monochromatic
#211993 #2D21C7 #5146E0 #827AE9 #B4AFF2

Accessibility & contrast

On white

6.36
#5146E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5146E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5146E0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5146E0#FFFFFF#000000##FFFFFF
##5146E01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#0059DD
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5146e0;
/* rgb */ color: rgb(81, 70, 224);
/* oklch */ color: oklch(50.7% 0.224 278.0);
Tailwind
colors: {
  custom: {
    50: '#927beb',
    500: '#5146e0',
    950: '#000000',
  },
}
SCSS
$custom: #5146e0;
$custom-light: #927beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5146e0",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 244.286,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50738,
    "c": 0.22361,
    "h": 278
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#5146E0
secondary
#DBE0A2
accent
#EE3AE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5146E0

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

Preview Lab → · Contrast checker → · Palette generator →

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