#514B81#514B81

#514B81 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.4% C 0.087 H 287.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#514B81
RGBrgb(81, 75, 129)
HSLhsl(247, 26%, 40%)
HSVhsv(247, 42%, 51%)
CMYKcmyk(37.2%, 41.9%, 0%, 49.4%)
CIE-LABlab(34.73, 16.34, -29.64)
CIE-LCHlch(34.73, 33.84, 298.87°)
OKLaboklab(44.38% 0.0261 -0.0832)
OKLCHoklch(44.38% 0.087 287.4)
XYZxyz(9.8708, 8.3662, 21.8594)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B81 #7B814B
analogous
#4B6081 #514B81 #6C4B81
triadic
#514B81 #81514B #4B8151
tetradic
#514B81 #814B60 #7B814B #4B816C
square
#514B81 #814B60 #7B814B #4B816C
split-complementary
#514B81 #816C4B #60814B
monochromatic
#201E34 #39345A #514B81 #6B64A5 #908BBC

Accessibility & contrast

On white

7.86
#514B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#514B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B81
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B81#FFFFFF#000000##FFFFFF
##514B811.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#395080
Tritanopia (blue-blind)
#455560
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514b81;
/* rgb */ color: rgb(81, 75, 129);
/* oklch */ color: oklch(44.4% 0.087 287.4);
Tailwind
colors: {
  custom: {
    50: '#847da6',
    500: '#514b81',
    950: '#000000',
  },
}
SCSS
$custom: #514b81;
$custom-light: #847da6;
$custom-dark: #000000;
JSON
{
  "hex": "#514b81",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 129
  },
  "hsl": {
    "h": 246.667,
    "s": 26.471,
    "l": 40
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.0872,
    "h": 287.4
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#514B81
secondary
#A3A880
accent
#C365B8
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514B81

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

Preview Lab → · Contrast checker → · Palette generator →

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