#514BAB#514BAB

#514BAB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.149 H 281.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#514BAB
RGBrgb(81, 75, 171)
HSLhsl(244, 39%, 48%)
HSVhsv(244, 56%, 67%)
CMYKcmyk(52.6%, 56.1%, 0%, 32.9%)
CIE-LABlab(37.34, 29.41, -50.92)
CIE-LCHlch(37.34, 58.80, 300.01°)
OKLaboklab(47.17% 0.0306 -0.1456)
OKLCHoklch(47.17% 0.149 281.9)
XYZxyz(13.2579, 9.7210, 39.6979)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BAB #A5AB4B
analogous
#4B75AB #514BAB #814BAB
triadic
#514BAB #AB514B #4BAB51
tetradic
#514BAB #AB4B75 #A5AB4B #4BAB81
square
#514BAB #AB4B75 #A5AB4B #4BAB81
split-complementary
#514BAB #AB814B #75AB4B
monochromatic
#292656 #3D3880 #514BAB #7772C1 #A09DD4

Accessibility & contrast

On white

7.13
#514BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#514BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514BAB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BAB#FFFFFF#000000##FFFFFF
##514BAB1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#2C6173
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514bab;
/* rgb */ color: rgb(81, 75, 171);
/* oklch */ color: oklch(47.2% 0.149 281.9);
Tailwind
colors: {
  custom: {
    50: '#897dc5',
    500: '#514bab',
    950: '#000000',
  },
}
SCSS
$custom: #514bab;
$custom-light: #897dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#514bab",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 243.75,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.14879,
    "h": 281.9
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#514BAB
secondary
#BDC091
accent
#CF59C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514BAB

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

Preview Lab → · Contrast checker → · Palette generator →

#514BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva