#5144E2#5144E2

#5144E2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.228 H 278.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5144E2
RGBrgb(81, 68, 226)
HSLhsl(245, 73%, 58%)
HSVhsv(245, 70%, 89%)
CMYKcmyk(64.2%, 69.9%, 0%, 11.4%)
CIE-LABlab(40.20, 51.04, -78.24)
CIE-LCHlch(40.20, 93.42, 303.12°)
OKLaboklab(50.63% 0.0322 -0.2258)
OKLCHoklch(50.63% 0.228 278.1)
XYZxyz(19.1835, 11.3730, 73.1210)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144E2 #D5E244
analogous
#4486E2 #5144E2 #A044E2
triadic
#5144E2 #E25144 #44E251
tetradic
#5144E2 #E24486 #D5E244 #44E2A0
square
#5144E2 #E24486 #D5E244 #44E2A0
split-complementary
#5144E2 #E2A044 #86E244
monochromatic
#211795 #2D1FCA #5144E2 #8279EA #B4AEF2

Accessibility & contrast

On white

6.41
#5144E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5144E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144E2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144E2#FFFFFF#000000##FFFFFF
##5144E21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5144e2;
/* rgb */ color: rgb(81, 68, 226);
/* oklch */ color: oklch(50.6% 0.228 278.1);
Tailwind
colors: {
  custom: {
    50: '#937aec',
    500: '#5144e2',
    950: '#000000',
  },
}
SCSS
$custom: #5144e2;
$custom-light: #937aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5144e2",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 244.937,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.22812,
    "h": 278.1
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#5144E2
secondary
#DBE1A1
accent
#F038E1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5144E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5144E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva