#514BAD#514BAD

#514BAD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.152 H 281.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#514BAD
RGBrgb(81, 75, 173)
HSLhsl(244, 40%, 49%)
HSVhsv(244, 57%, 68%)
CMYKcmyk(53.2%, 56.6%, 0%, 32.2%)
CIE-LABlab(37.48, 30.05, -51.88)
CIE-LCHlch(37.48, 59.95, 300.08°)
OKLaboklab(47.32% 0.0307 -0.1484)
OKLCHoklch(47.32% 0.152 281.7)
XYZxyz(13.4499, 9.7978, 40.7095)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BAD #A7AD4B
analogous
#4B76AD #514BAD #824BAD
triadic
#514BAD #AD514B #4BAD51
tetradic
#514BAD #AD4B76 #A7AD4B #4BAD82
square
#514BAD #AD4B76 #A7AD4B #4BAD82
split-complementary
#514BAD #AD824B #76AD4B
monochromatic
#292658 #3D3882 #514BAD #7873C2 #A19ED5

Accessibility & contrast

On white

7.10
#514BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#514BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514BAD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BAD#FFFFFF#000000##FFFFFF
##514BAD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#2A6174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514bad;
/* rgb */ color: rgb(81, 75, 173);
/* oklch */ color: oklch(47.3% 0.152 281.7);
Tailwind
colors: {
  custom: {
    50: '#897dc6',
    500: '#514bad',
    950: '#000000',
  },
}
SCSS
$custom: #514bad;
$custom-light: #897dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#514bad",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 243.673,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4732,
    "c": 0.15157,
    "h": 281.7
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#514BAD
secondary
#BFC192
accent
#CF58C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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