#5144DE#5144DE

#5144DE is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.223 H 278.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5144DE
RGBrgb(81, 68, 222)
HSLhsl(245, 70%, 57%)
HSVhsv(245, 69%, 87%)
CMYKcmyk(63.5%, 69.4%, 0%, 12.9%)
CIE-LABlab(39.84, 49.80, -76.55)
CIE-LCHlch(39.84, 91.33, 303.05°)
OKLaboklab(50.27% 0.0328 -0.2209)
OKLCHoklch(50.27% 0.223 278.5)
XYZxyz(18.6410, 11.1560, 70.2641)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144DE #D1DE44
analogous
#4484DE #5144DE #9E44DE
triadic
#5144DE #DE5144 #44DE51
tetradic
#5144DE #DE4484 #D1DE44 #44DE9E
square
#5144DE #DE4484 #D1DE44 #44DE9E
split-complementary
#5144DE #DE9E44 #84DE44
monochromatic
#23198E #3022C2 #5144DE #8178E7 #B2ACF0

Accessibility & contrast

On white

6.50
#5144DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5144DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5144DE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144DE#FFFFFF#000000##FFFFFF
##5144DE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E3
Deuteranopia (green-blind)
#0058DB
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5144de;
/* rgb */ color: rgb(81, 68, 222);
/* oklch */ color: oklch(50.3% 0.223 278.5);
Tailwind
colors: {
  custom: {
    50: '#927aea',
    500: '#5144de',
    950: '#000000',
  },
}
SCSS
$custom: #5144de;
$custom-light: #927aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5144de",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 222
  },
  "hsl": {
    "h": 245.065,
    "s": 70,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.22333,
    "h": 278.5
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#5144DE
secondary
#D9DE9F
accent
#ED3BDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5144DE

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

Preview Lab → · Contrast checker → · Palette generator →

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