#514EA0#514EA0

#514EA0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.129 H 281.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#514EA0
RGBrgb(81, 78, 160)
HSLhsl(242, 34%, 47%)
HSVhsv(242, 51%, 63%)
CMYKcmyk(49.4%, 51.2%, 0%, 37.3%)
CIE-LABlab(37.36, 23.99, -44.31)
CIE-LCHlch(37.36, 50.38, 298.43°)
OKLaboklab(46.96% 0.0265 -0.1262)
OKLCHoklch(46.96% 0.129 281.9)
XYZxyz(12.4610, 9.7355, 34.4734)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EA0 #9DA04E
analogous
#4E74A0 #514EA0 #7A4EA0
triadic
#514EA0 #A0514E #4EA051
tetradic
#514EA0 #A04E74 #9DA04E #4EA07A
square
#514EA0 #A04E74 #9DA04E #4EA07A
split-complementary
#514EA0 #A07A4E #74A04E
monochromatic
#27264E #3C3A77 #514EA0 #7471BA #9C9ACE

Accessibility & contrast

On white

7.13
#514EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514EA0
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EA0#FFFFFF#000000##FFFFFF
##514EA01.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA3
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#34606F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514ea0;
/* rgb */ color: rgb(81, 78, 160);
/* oklch */ color: oklch(47.0% 0.129 281.9);
Tailwind
colors: {
  custom: {
    50: '#877fbd',
    500: '#514ea0',
    950: '#000000',
  },
}
SCSS
$custom: #514ea0;
$custom-light: #877fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#514ea0",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 242.195,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46956,
    "c": 0.12892,
    "h": 281.9
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#514EA0
secondary
#B9BB8F
accent
#CB5DC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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