#5149CE#5149CE

#5149CE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.198 H 279.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5149CE
RGBrgb(81, 73, 206)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(60.7%, 64.6%, 0%, 19.2%)
CIE-LABlab(39.53, 41.88, -67.87)
CIE-LCHlch(39.53, 79.75, 301.68°)
OKLaboklab(49.62% 0.0311 -0.1955)
OKLCHoklch(49.62% 0.198 279)
XYZxyz(16.9129, 10.9694, 59.6066)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149CE #C6CE49
analogous
#4984CE #5149CE #9449CE
triadic
#5149CE #CE5149 #49CE51
tetradic
#5149CE #CE4984 #C6CE49 #49CE94
square
#5149CE #CE4984 #C6CE49 #49CE94
split-complementary
#5149CE #CE9449 #84CE49
monochromatic
#27217B #362EAC #5149CE #7F79DB #ADA9E8

Accessibility & contrast

On white

6.57
#5149CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5149CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149CE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149CE#FFFFFF#000000##FFFFFF
##5149CE1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5149ce;
/* rgb */ color: rgb(81, 73, 206);
/* oklch */ color: oklch(49.6% 0.198 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f7cde',
    500: '#5149ce',
    950: '#000000',
  },
}
SCSS
$custom: #5149ce;
$custom-light: #8f7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5149ce",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 243.609,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.19792,
    "h": 279
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#5149CE
secondary
#D2D59D
accent
#E147D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5149CE

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

Preview Lab → · Contrast checker → · Palette generator →

#5149CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva