#514D99#514D99

#514D99 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.120 H 283.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#514D99
RGBrgb(81, 77, 153)
HSLhsl(243, 33%, 45%)
HSVhsv(243, 50%, 60%)
CMYKcmyk(47.1%, 49.7%, 0%, 40%)
CIE-LABlab(36.66, 22.41, -41.22)
CIE-LCHlch(36.66, 46.92, 298.53°)
OKLaboklab(46.29% 0.0271 -0.1171)
OKLCHoklch(46.29% 0.12 283)
XYZxyz(11.7953, 9.3564, 31.3153)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D99 #95994D
analogous
#4D6F99 #514D99 #774D99
triadic
#514D99 #99514D #4D9951
tetradic
#514D99 #994D6F #95994D #4D9977
square
#514D99 #994D6F #95994D #4D9977
split-complementary
#514D99 #99774D #6F994D
monochromatic
#262448 #3B3970 #514D99 #716DB6 #9996CA

Accessibility & contrast

On white

7.31
#514D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#514D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D99
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D99#FFFFFF#000000##FFFFFF
##514D991.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#285497
Tritanopia (blue-blind)
#395D6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #514d99;
/* rgb */ color: rgb(81, 77, 153);
/* oklch */ color: oklch(46.3% 0.120 283.0);
Tailwind
colors: {
  custom: {
    50: '#867eb7',
    500: '#514d99',
    950: '#000000',
  },
}
SCSS
$custom: #514d99;
$custom-light: #867eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#514d99",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 243.158,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.12019,
    "h": 283
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#514D99
secondary
#B4B78B
accent
#C95FC4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #514D99

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

Preview Lab → · Contrast checker → · Palette generator →

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