#514B77#514B77

#514B77 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.8% C 0.072 H 289.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#514B77
RGBrgb(81, 75, 119)
HSLhsl(248, 23%, 38%)
HSVhsv(248, 37%, 47%)
CMYKcmyk(31.9%, 37%, 0%, 53.3%)
CIE-LABlab(34.22, 13.44, -24.25)
CIE-LCHlch(34.22, 27.72, 298.99°)
OKLaboklab(43.81% 0.0237 -0.0676)
OKLCHoklch(43.81% 0.072 289.3)
XYZxyz(9.2383, 8.1132, 18.5285)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B77 #71774B
analogous
#4B5B77 #514B77 #674B77
triadic
#514B77 #77514B #4B7751
tetradic
#514B77 #774B5B #71774B #4B7767
square
#514B77 #774B5B #71774B #4B7767
split-complementary
#514B77 #77674B #5B774B
monochromatic
#1E1C2C #373351 #514B77 #6B639C #8E88B4

Accessibility & contrast

On white

8.01
#514B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#514B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B77
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B77#FFFFFF#000000##FFFFFF
##514B771.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#48535B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #514b77;
/* rgb */ color: rgb(81, 75, 119);
/* oklch */ color: oklch(43.8% 0.072 289.3);
Tailwind
colors: {
  custom: {
    50: '#837d9e',
    500: '#514b77',
    950: '#000000',
  },
}
SCSS
$custom: #514b77;
$custom-light: #837d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#514b77",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 119
  },
  "hsl": {
    "h": 248.182,
    "s": 22.68,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.07164,
    "h": 289.3
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#514B77
secondary
#9CA17D
accent
#BF69B3
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #514B77

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

Preview Lab → · Contrast checker → · Palette generator →

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