#514699#514699

#514699 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.131 H 285.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#514699
RGBrgb(81, 70, 153)
HSLhsl(248, 37%, 44%)
HSVhsv(248, 54%, 60%)
CMYKcmyk(47.1%, 54.2%, 0%, 40%)
CIE-LABlab(34.86, 26.86, -44.11)
CIE-LCHlch(34.86, 51.64, 301.34°)
OKLaboklab(44.94% 0.0359 -0.1256)
OKLCHoklch(44.94% 0.131 285.9)
XYZxyz(11.3316, 8.4291, 31.1607)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514699 #8E9946
analogous
#466499 #514699 #7A4699
triadic
#514699 #995146 #469951
tetradic
#514699 #994664 #8E9946 #46997A
square
#514699 #994664 #8E9946 #46997A
split-complementary
#514699 #997A46 #649946
monochromatic
#252045 #3B336F #514699 #6F64B8 #968ECB

Accessibility & contrast

On white

7.82
#514699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#514699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514699
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514699#FFFFFF#000000##FFFFFF
##5146991.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#1A5097
Tritanopia (blue-blind)
#3A5868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514699;
/* rgb */ color: rgb(81, 70, 153);
/* oklch */ color: oklch(44.9% 0.131 285.9);
Tailwind
colors: {
  custom: {
    50: '#8779b8',
    500: '#514699',
    950: '#000000',
  },
}
SCSS
$custom: #514699;
$custom-light: #8779b8;
$custom-dark: #000000;
JSON
{
  "hex": "#514699",
  "rgb": {
    "r": 81,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 247.952,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44938,
    "c": 0.13064,
    "h": 285.9
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#514699
secondary
#B0B784
accent
#CD5BBE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #514699

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

Preview Lab → · Contrast checker → · Palette generator →

#514699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva