#514DA5#514DA5

#514DA5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.138 H 281.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#514DA5
RGBrgb(81, 77, 165)
HSLhsl(243, 36%, 47%)
HSVhsv(243, 53%, 65%)
CMYKcmyk(50.9%, 53.3%, 0%, 35.3%)
CIE-LABlab(37.43, 26.22, -47.19)
CIE-LCHlch(37.43, 53.99, 299.06°)
OKLaboklab(47.11% 0.0281 -0.1346)
OKLCHoklch(47.11% 0.138 281.8)
XYZxyz(12.8367, 9.7730, 36.8000)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DA5 #A1A54D
analogous
#4D75A5 #514DA5 #7D4DA5
triadic
#514DA5 #A5514D #4DA551
tetradic
#514DA5 #A54D75 #A1A54D #4DA57D
square
#514DA5 #A54D75 #A1A54D #4DA57D
split-complementary
#514DA5 #A57D4D #75A54D
monochromatic
#282652 #3D3A7B #514DA5 #7572BD #9E9CD1

Accessibility & contrast

On white

7.11
#514DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#514DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514DA5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DA5#FFFFFF#000000##FFFFFF
##514DA51.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#1755A3
Tritanopia (blue-blind)
#316071
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514da5;
/* rgb */ color: rgb(81, 77, 165);
/* oklch */ color: oklch(47.1% 0.138 281.8);
Tailwind
colors: {
  custom: {
    50: '#887fc0',
    500: '#514da5',
    950: '#000000',
  },
}
SCSS
$custom: #514da5;
$custom-light: #887fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#514da5",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 242.727,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.13753,
    "h": 281.8
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#514DA5
secondary
#BBBD90
accent
#CC5BC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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