#514596#514596

#514596 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.128 H 286.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#514596
RGBrgb(81, 69, 150)
HSLhsl(249, 37%, 43%)
HSVhsv(249, 54%, 59%)
CMYKcmyk(46%, 54%, 0%, 41.2%)
CIE-LABlab(34.41, 26.56, -43.01)
CIE-LCHlch(34.41, 50.55, 301.69°)
OKLaboklab(44.54% 0.0369 -0.1224)
OKLCHoklch(44.54% 0.128 286.8)
XYZxyz(11.0249, 8.2071, 29.8515)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514596 #8A9645
analogous
#456196 #514596 #794596
triadic
#514596 #965145 #459651
tetradic
#514596 #964561 #8A9645 #459679
square
#514596 #964561 #8A9645 #459679
split-complementary
#514596 #967945 #619645
monochromatic
#241E42 #3A326C #514596 #6E62B7 #958CCA

Accessibility & contrast

On white

7.95
#514596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#514596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514596
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514596#FFFFFF#000000##FFFFFF
##5145961.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#1C4F94
Tritanopia (blue-blind)
#3B5666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #514596;
/* rgb */ color: rgb(81, 69, 150);
/* oklch */ color: oklch(44.5% 0.128 286.8);
Tailwind
colors: {
  custom: {
    50: '#8679b5',
    500: '#514596',
    950: '#000000',
  },
}
SCSS
$custom: #514596;
$custom-light: #8679b5;
$custom-dark: #000000;
JSON
{
  "hex": "#514596",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 248.889,
    "s": 36.986,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44538,
    "c": 0.12785,
    "h": 286.8
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#514596
secondary
#AEB582
accent
#CD5BBC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #514596

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

Preview Lab → · Contrast checker → · Palette generator →

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