#514B84#514B84

#514B84 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.6% C 0.092 H 286.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#514B84
RGBrgb(81, 75, 132)
HSLhsl(246, 28%, 41%)
HSVhsv(246, 43%, 52%)
CMYKcmyk(38.6%, 43.2%, 0%, 48.2%)
CIE-LABlab(34.90, 17.23, -31.23)
CIE-LCHlch(34.90, 35.67, 298.89°)
OKLaboklab(44.55% 0.0266 -0.0879)
OKLCHoklch(44.55% 0.092 286.9)
XYZxyz(10.0731, 8.4471, 22.9250)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B84 #7E844B
analogous
#4B6184 #514B84 #6D4B84
triadic
#514B84 #84514B #4B8451
tetradic
#514B84 #844B61 #7E844B #4B846D
square
#514B84 #844B61 #7E844B #4B846D
split-complementary
#514B84 #846D4B #61844B
monochromatic
#211F36 #39355D #514B84 #6C65A7 #918CBE

Accessibility & contrast

On white

7.81
#514B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#514B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B84
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B84#FFFFFF#000000##FFFFFF
##514B841.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385486
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#435661
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514b84;
/* rgb */ color: rgb(81, 75, 132);
/* oklch */ color: oklch(44.6% 0.092 286.9);
Tailwind
colors: {
  custom: {
    50: '#847da8',
    500: '#514b84',
    950: '#000000',
  },
}
SCSS
$custom: #514b84;
$custom-light: #847da8;
$custom-dark: #000000;
JSON
{
  "hex": "#514b84",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 132
  },
  "hsl": {
    "h": 246.316,
    "s": 27.536,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.09181,
    "h": 286.9
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#514B84
secondary
#A5AA81
accent
#C464BA
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514B84

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

Preview Lab → · Contrast checker → · Palette generator →

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