#514B79#514B79

#514B79 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.075 H 288.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#514B79
RGBrgb(81, 75, 121)
HSLhsl(248, 23%, 38%)
HSVhsv(248, 38%, 47%)
CMYKcmyk(33.1%, 38%, 0%, 52.5%)
CIE-LABlab(34.32, 14.01, -25.34)
CIE-LCHlch(34.32, 28.95, 298.94°)
OKLaboklab(43.92% 0.0242 -0.0707)
OKLCHoklch(43.92% 0.075 288.9)
XYZxyz(9.3597, 8.1617, 19.1677)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B79 #73794B
analogous
#4B5C79 #514B79 #684B79
triadic
#514B79 #79514B #4B7951
tetradic
#514B79 #794B5C #73794B #4B7968
square
#514B79 #794B5C #73794B #4B7968
split-complementary
#514B79 #79684B #5C794B
monochromatic
#1E1C2D #383453 #514B79 #6B639E #8F89B6

Accessibility & contrast

On white

7.98
#514B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#514B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B79
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B79#FFFFFF#000000##FFFFFF
##514B791.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#3D5078
Tritanopia (blue-blind)
#47535C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #514b79;
/* rgb */ color: rgb(81, 75, 121);
/* oklch */ color: oklch(43.9% 0.075 288.9);
Tailwind
colors: {
  custom: {
    50: '#837da0',
    500: '#514b79',
    950: '#000000',
  },
}
SCSS
$custom: #514b79;
$custom-light: #837da0;
$custom-dark: #000000;
JSON
{
  "hex": "#514b79",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 247.826,
    "s": 23.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.07479,
    "h": 288.9
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#514B79
secondary
#9DA27E
accent
#C068B4
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #514B79

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

Preview Lab → · Contrast checker → · Palette generator →

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