#514B9A#514B9A

#514B9A is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.125 H 283.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#514B9A
RGBrgb(81, 75, 154)
HSLhsl(245, 34%, 45%)
HSVhsv(245, 51%, 60%)
CMYKcmyk(47.4%, 51.3%, 0%, 39.6%)
CIE-LABlab(36.20, 24.00, -42.56)
CIE-LCHlch(36.20, 48.86, 299.42°)
OKLaboklab(45.96% 0.0297 -0.121)
OKLCHoklch(45.96% 0.125 283.8)
XYZxyz(11.7404, 9.1140, 31.7062)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B9A #949A4B
analogous
#4B6D9A #514B9A #794B9A
triadic
#514B9A #9A514B #4B9A51
tetradic
#514B9A #9A4B6D #949A4B #4B9A79
square
#514B9A #9A4B6D #949A4B #4B9A79
split-complementary
#514B9A #9A794B #6D9A4B
monochromatic
#262348 #3B3771 #514B9A #716BB7 #9894CB

Accessibility & contrast

On white

7.44
#514B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#514B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B9A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B9A#FFFFFF#000000##FFFFFF
##514B9A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#235398
Tritanopia (blue-blind)
#385C6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #514b9a;
/* rgb */ color: rgb(81, 75, 154);
/* oklch */ color: oklch(46.0% 0.125 283.8);
Tailwind
colors: {
  custom: {
    50: '#877db8',
    500: '#514b9a',
    950: '#000000',
  },
}
SCSS
$custom: #514b9a;
$custom-light: #877db8;
$custom-dark: #000000;
JSON
{
  "hex": "#514b9a",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 244.557,
    "s": 34.498,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.12463,
    "h": 283.8
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#514B9A
secondary
#B4B78A
accent
#CB5DC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #514B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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