#5146E9#5146E9

#5146E9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.6% C 0.234 H 277.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5146E9
RGBrgb(81, 70, 233)
HSLhsl(244, 79%, 59%)
HSVhsv(244, 70%, 91%)
CMYKcmyk(65.2%, 70%, 0%, 8.6%)
CIE-LABlab(41.23, 52.11, -80.52)
CIE-LCHlch(41.23, 95.91, 302.91°)
OKLaboklab(51.56% 0.0297 -0.2325)
OKLCHoklch(51.56% 0.234 277.3)
XYZxyz(20.2867, 12.0111, 78.3243)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5146E9 #DEE946
analogous
#468DE9 #5146E9 #A346E9
triadic
#5146E9 #E95146 #46E951
tetradic
#5146E9 #E9468D #DEE946 #46E9A3
square
#5146E9 #E9468D #DEE946 #46E9A3
split-complementary
#5146E9 #E9A346 #8DE946
monochromatic
#1D13A1 #271AD8 #5146E9 #847DF0 #B8B3F6

Accessibility & contrast

On white

6.17
#5146E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5146E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5146E9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5146E9#FFFFFF#000000##FFFFFF
##5146E91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#005AE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5146e9;
/* rgb */ color: rgb(81, 70, 233);
/* oklch */ color: oklch(51.6% 0.234 277.3);
Tailwind
colors: {
  custom: {
    50: '#947bf1',
    500: '#5146e9',
    950: '#000000',
  },
}
SCSS
$custom: #5146e9;
$custom-light: #947bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5146e9",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 244.049,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.2344,
    "h": 277.3
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#5146E9
secondary
#E1E5A6
accent
#F533E8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5146E9

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

Preview Lab → · Contrast checker → · Palette generator →

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