#5144BF#5144BF

#5144BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.185 H 281.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5144BF
RGBrgb(81, 68, 191)
HSLhsl(246, 49%, 51%)
HSVhsv(246, 64%, 75%)
CMYKcmyk(57.6%, 64.4%, 0%, 25.1%)
CIE-LABlab(37.20, 40.07, -62.95)
CIE-LCHlch(37.20, 74.62, 302.48°)
OKLaboklab(47.54% 0.0369 -0.181)
OKLCHoklch(47.54% 0.185 281.5)
XYZxyz(14.8615, 9.6442, 50.3585)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5144BF #B2BF44
analogous
#4475BF #5144BF #8E44BF
triadic
#5144BF #BF5144 #44BF51
tetradic
#5144BF #BF4475 #B2BF44 #44BF8E
square
#5144BF #BF4475 #B2BF44 #44BF8E
split-complementary
#5144BF #BF8E44 #75BF44
monochromatic
#2A2366 #3D3293 #5144BF #7B72CF #A69FDE

Accessibility & contrast

On white

7.17
#5144BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5144BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5144BF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5144BF#FFFFFF#000000##FFFFFF
##5144BF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#11637B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5144bf;
/* rgb */ color: rgb(81, 68, 191);
/* oklch */ color: oklch(47.5% 0.185 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d79d3',
    500: '#5144bf',
    950: '#000000',
  },
}
SCSS
$custom: #5144bf;
$custom-light: #8d79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5144bf",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 191
  },
  "hsl": {
    "h": 246.341,
    "s": 49.004,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.18475,
    "h": 281.5
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#5144BF
secondary
#C5CB94
accent
#D94FCA
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5144BF

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

Preview Lab → · Contrast checker → · Palette generator →

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