#514B80#514B80

#514B80 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.3% C 0.086 H 287.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#514B80
RGBrgb(81, 75, 128)
HSLhsl(247, 26%, 40%)
HSVhsv(247, 41%, 50%)
CMYKcmyk(36.7%, 41.4%, 0%, 49.8%)
CIE-LABlab(34.68, 16.04, -29.10)
CIE-LCHlch(34.68, 33.23, 298.87°)
OKLaboklab(44.32% 0.0258 -0.0817)
OKLCHoklch(44.32% 0.086 287.6)
XYZxyz(9.8046, 8.3397, 21.5110)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B80 #7A804B
analogous
#4B6080 #514B80 #6B4B80
triadic
#514B80 #80514B #4B8051
tetradic
#514B80 #804B60 #7A804B #4B806B
square
#514B80 #804B60 #7A804B #4B806B
split-complementary
#514B80 #806B4B #60804B
monochromatic
#201E33 #393459 #514B80 #6B64A4 #908BBB

Accessibility & contrast

On white

7.87
#514B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B80
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B80#FFFFFF#000000##FFFFFF
##514B801.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#39507F
Tritanopia (blue-blind)
#45555F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514b80;
/* rgb */ color: rgb(81, 75, 128);
/* oklch */ color: oklch(44.3% 0.086 287.6);
Tailwind
colors: {
  custom: {
    50: '#847da5',
    500: '#514b80',
    950: '#000000',
  },
}
SCSS
$custom: #514b80;
$custom-light: #847da5;
$custom-dark: #000000;
JSON
{
  "hex": "#514b80",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 128
  },
  "hsl": {
    "h": 246.792,
    "s": 26.108,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.08566,
    "h": 287.6
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#514B80
secondary
#A3A780
accent
#C265B8
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514B80

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

Preview Lab → · Contrast checker → · Palette generator →

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