#514B87#514B87

#514B87 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.096 H 286.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#514B87
RGBrgb(81, 75, 135)
HSLhsl(246, 29%, 41%)
HSVhsv(246, 44%, 53%)
CMYKcmyk(40%, 44.4%, 0%, 47.1%)
CIE-LABlab(35.06, 18.13, -32.81)
CIE-LCHlch(35.06, 37.49, 298.93°)
OKLaboklab(44.73% 0.0272 -0.0925)
OKLCHoklch(44.73% 0.096 286.4)
XYZxyz(10.2814, 8.5304, 24.0218)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B87 #81874B
analogous
#4B6387 #514B87 #6F4B87
triadic
#514B87 #87514B #4B8751
tetradic
#514B87 #874B63 #81874B #4B876F
square
#514B87 #874B63 #81874B #4B876F
split-complementary
#514B87 #876F4B #63874B
monochromatic
#221F38 #393560 #514B87 #6C65AA #928DC0

Accessibility & contrast

On white

7.76
#514B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#514B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B87
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B87#FFFFFF#000000##FFFFFF
##514B871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#425762
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514b87;
/* rgb */ color: rgb(81, 75, 135);
/* oklch */ color: oklch(44.7% 0.096 286.4);
Tailwind
colors: {
  custom: {
    50: '#847daa',
    500: '#514b87',
    950: '#000000',
  },
}
SCSS
$custom: #514b87;
$custom-light: #847daa;
$custom-dark: #000000;
JSON
{
  "hex": "#514b87",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 246,
    "s": 28.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44734,
    "c": 0.09638,
    "h": 286.4
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#514B87
secondary
#A8AC82
accent
#C563BB
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514B87

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

Preview Lab → · Contrast checker → · Palette generator →

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