#514595#514595

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

Color values

HEX#514595
RGBrgb(81, 69, 149)
HSLhsl(249, 37%, 43%)
HSVhsv(249, 54%, 58%)
CMYKcmyk(45.6%, 53.7%, 0%, 41.6%)
CIE-LABlab(34.34, 26.25, -42.51)
CIE-LCHlch(34.34, 49.96, 301.69°)
OKLaboklab(44.47% 0.0369 -0.1209)
OKLCHoklch(44.47% 0.126 287)
XYZxyz(10.9447, 8.1751, 29.4292)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514595 #899545
analogous
#456195 #514595 #794595
triadic
#514595 #955145 #459551
tetradic
#514595 #954561 #899545 #459579
square
#514595 #954561 #899545 #459579
split-complementary
#514595 #957945 #619545
monochromatic
#241E41 #3A326B #514595 #6E61B6 #948BC9

Accessibility & contrast

On white

7.97
#514595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514595
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514595#FFFFFF#000000##FFFFFF
##5145951.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5398
Deuteranopia (green-blind)
#1E4F93
Tritanopia (blue-blind)
#3C5666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #514595;
/* rgb */ color: rgb(81, 69, 149);
/* oklch */ color: oklch(44.5% 0.126 287.0);
Tailwind
colors: {
  custom: {
    50: '#8679b5',
    500: '#514595',
    950: '#000000',
  },
}
SCSS
$custom: #514595;
$custom-light: #8679b5;
$custom-dark: #000000;
JSON
{
  "hex": "#514595",
  "rgb": {
    "r": 81,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 249,
    "s": 36.697,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44468,
    "c": 0.12642,
    "h": 287
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514595

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

Preview Lab → · Contrast checker → · Palette generator →

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