#514C8D#514C8D

#514C8D is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.3% C 0.104 H 285.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#514C8D
RGBrgb(81, 76, 141)
HSLhsl(245, 30%, 43%)
HSVhsv(245, 46%, 55%)
CMYKcmyk(42.6%, 46.1%, 0%, 44.7%)
CIE-LABlab(35.68, 19.32, -35.51)
CIE-LCHlch(35.68, 40.42, 298.54°)
OKLaboklab(45.31% 0.0268 -0.1004)
OKLCHoklch(45.31% 0.104 285)
XYZxyz(10.7841, 8.8409, 26.3324)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C8D #888D4C
analogous
#4C688D #514C8D #714C8D
triadic
#514C8D #8D514C #4C8D51
tetradic
#514C8D #8D4C68 #888D4C #4C8D71
square
#514C8D #8D4C68 #888D4C #4C8D71
split-complementary
#514C8D #8D714C #688D4C
monochromatic
#23213D #3A3765 #514C8D #6E68AE #9490C3

Accessibility & contrast

On white

7.59
#514C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#514C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C8D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C8D#FFFFFF#000000##FFFFFF
##514C8D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#3F5965
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #514c8d;
/* rgb */ color: rgb(81, 76, 141);
/* oklch */ color: oklch(45.3% 0.104 285.0);
Tailwind
colors: {
  custom: {
    50: '#857eaf',
    500: '#514c8d',
    950: '#000000',
  },
}
SCSS
$custom: #514c8d;
$custom-light: #857eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#514c8d",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 244.615,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.10388,
    "h": 285
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#514C8D
secondary
#ACAF85
accent
#C662BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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