#514B89#514B89

#514B89 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.9% C 0.099 H 286.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#514B89
RGBrgb(81, 75, 137)
HSLhsl(246, 29%, 42%)
HSVhsv(246, 45%, 54%)
CMYKcmyk(40.9%, 45.3%, 0%, 46.3%)
CIE-LABlab(35.18, 18.74, -33.86)
CIE-LCHlch(35.18, 38.69, 298.96°)
OKLaboklab(44.86% 0.0275 -0.0955)
OKLCHoklch(44.86% 0.099 286.1)
XYZxyz(10.4235, 8.5873, 24.7704)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B89 #83894B
analogous
#4B6489 #514B89 #704B89
triadic
#514B89 #89514B #4B8951
tetradic
#514B89 #894B64 #83894B #4B8970
square
#514B89 #894B64 #83894B #4B8970
split-complementary
#514B89 #89704B #64894B
monochromatic
#22203A #3A3561 #514B89 #6D66AB #928EC1

Accessibility & contrast

On white

7.73
#514B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#514B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B89
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B89#FFFFFF#000000##FFFFFF
##514B891.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35548B
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#415763
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #514b89;
/* rgb */ color: rgb(81, 75, 137);
/* oklch */ color: oklch(44.9% 0.099 286.1);
Tailwind
colors: {
  custom: {
    50: '#857dac',
    500: '#514b89',
    950: '#000000',
  },
}
SCSS
$custom: #514b89;
$custom-light: #857dac;
$custom-dark: #000000;
JSON
{
  "hex": "#514b89",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 137
  },
  "hsl": {
    "h": 245.806,
    "s": 29.245,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44856,
    "c": 0.09942,
    "h": 286.1
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#514B89
secondary
#A9AD83
accent
#C662BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514B89

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

Preview Lab → · Contrast checker → · Palette generator →

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