#5149CF#5149CF

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

Color values

HEX#5149CF
RGBrgb(81, 73, 207)
HSLhsl(244, 58%, 55%)
HSVhsv(244, 65%, 81%)
CMYKcmyk(60.9%, 64.7%, 0%, 18.8%)
CIE-LABlab(39.61, 42.20, -68.31)
CIE-LCHlch(39.61, 80.30, 301.71°)
OKLaboklab(49.7% 0.031 -0.1968)
OKLCHoklch(49.7% 0.199 279)
XYZxyz(17.0348, 11.0181, 60.2484)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149CF #C7CF49
analogous
#4984CF #5149CF #9449CF
triadic
#5149CF #CF5149 #49CF51
tetradic
#5149CF #CF4984 #C7CF49 #49CF94
square
#5149CF #CF4984 #C7CF49 #49CF94
split-complementary
#5149CF #CF9449 #84CF49
monochromatic
#26217D #352EAD #5149CF #7F79DC #AEAAE9

Accessibility & contrast

On white

6.55
#5149CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5149CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149CF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149CF#FFFFFF#000000##FFFFFF
##5149CF1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5149cf;
/* rgb */ color: rgb(81, 73, 207);
/* oklch */ color: oklch(49.7% 0.199 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f7cdf',
    500: '#5149cf',
    950: '#000000',
  },
}
SCSS
$custom: #5149cf;
$custom-light: #8f7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5149cf",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 243.582,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.19919,
    "h": 279
  },
  "luminance": 0.11019
}

Semantic roles & 50–950 ramp

primary
#5149CF
secondary
#D3D69E
accent
#E146D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5149CF

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

Preview Lab → · Contrast checker → · Palette generator →

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