#5149BB#5149BB

#5149BB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.173 H 280.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5149BB
RGBrgb(81, 73, 187)
HSLhsl(244, 46%, 51%)
HSVhsv(244, 61%, 73%)
CMYKcmyk(56.7%, 61%, 0%, 26.7%)
CIE-LABlab(38.02, 35.79, -59.26)
CIE-LCHlch(38.02, 69.23, 301.13°)
OKLaboklab(48.05% 0.0325 -0.1702)
OKLCHoklch(48.05% 0.173 280.8)
XYZxyz(14.7427, 10.1013, 48.1770)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5149BB #B3BB49
analogous
#497ABB #5149BB #8A49BB
triadic
#5149BB #BB5149 #49BB51
tetradic
#5149BB #BB497A #B3BB49 #49BB8A
square
#5149BB #BB497A #B3BB49 #49BB8A
split-complementary
#5149BB #BB8A49 #7ABB49
monochromatic
#2A2564 #3C3691 #5149BB #7C76CC #A6A2DC

Accessibility & contrast

On white

6.95
#5149BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5149BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5149BB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5149BB#FFFFFF#000000##FFFFFF
##5149BB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#18657B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5149bb;
/* rgb */ color: rgb(81, 73, 187);
/* oklch */ color: oklch(48.0% 0.173 280.8);
Tailwind
colors: {
  custom: {
    50: '#8c7cd0',
    500: '#5149bb',
    950: '#000000',
  },
}
SCSS
$custom: #5149bb;
$custom-light: #8c7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5149bb",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 244.211,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.17323,
    "h": 280.8
  },
  "luminance": 0.10102
}

Semantic roles & 50–950 ramp

primary
#5149BB
secondary
#C6C997
accent
#D553CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5149BB

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

Preview Lab → · Contrast checker → · Palette generator →

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