#514495#514495

#514495 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.128 H 287.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#514495
RGBrgb(81, 68, 149)
HSLhsl(250, 37%, 43%)
HSVhsv(250, 54%, 58%)
CMYKcmyk(45.6%, 54.4%, 0%, 41.6%)
CIE-LABlab(34.09, 26.88, -42.91)
CIE-LCHlch(34.09, 50.64, 302.06°)
OKLaboklab(44.28% 0.0382 -0.1221)
OKLCHoklch(44.28% 0.128 287.3)
XYZxyz(10.8837, 8.0531, 29.4089)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514495 #889544
analogous
#445F95 #514495 #7A4495
triadic
#514495 #955144 #449551
tetradic
#514495 #95445F #889544 #44957A
square
#514495 #95445F #889544 #44957A
split-complementary
#514495 #957A44 #5F9544
monochromatic
#231E41 #3A316B #514495 #6E60B6 #948ACA

Accessibility & contrast

On white

8.04
#514495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#514495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514495
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514495#FFFFFF#000000##FFFFFF
##5144951.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#3C5566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #514495;
/* rgb */ color: rgb(81, 68, 149);
/* oklch */ color: oklch(44.3% 0.128 287.3);
Tailwind
colors: {
  custom: {
    50: '#8678b5',
    500: '#514495',
    950: '#000000',
  },
}
SCSS
$custom: #514495;
$custom-light: #8678b5;
$custom-dark: #000000;
JSON
{
  "hex": "#514495",
  "rgb": {
    "r": 81,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 249.63,
    "s": 37.327,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.12794,
    "h": 287.3
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#514495
secondary
#ACB580
accent
#CD5BBB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #514495

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

Preview Lab → · Contrast checker → · Palette generator →

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