#514EA7#514EA7

#514EA7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.139 H 281.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#514EA7
RGBrgb(81, 78, 167)
HSLhsl(242, 36%, 48%)
HSVhsv(242, 53%, 65%)
CMYKcmyk(51.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(37.82, 26.23, -47.76)
CIE-LCHlch(37.82, 54.49, 298.78°)
OKLaboklab(47.45% 0.027 -0.1363)
OKLCHoklch(47.45% 0.139 281.2)
XYZxyz(13.0906, 9.9874, 37.7897)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EA7 #A4A74E
analogous
#4E78A7 #514EA7 #7D4EA7
triadic
#514EA7 #A7514E #4EA751
tetradic
#514EA7 #A74E78 #A4A74E #4EA77D
square
#514EA7 #A74E78 #A4A74E #4EA77D
split-complementary
#514EA7 #A77D4E #78A74E
monochromatic
#292754 #3D3B7D #514EA7 #7774BE #A09ED2

Accessibility & contrast

On white

7.01
#514EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#514EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EA7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EA7#FFFFFF#000000##FFFFFF
##514EA71.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5CAA
Deuteranopia (green-blind)
#1556A5
Tritanopia (blue-blind)
#2F6273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514ea7;
/* rgb */ color: rgb(81, 78, 167);
/* oklch */ color: oklch(47.4% 0.139 281.2);
Tailwind
colors: {
  custom: {
    50: '#887fc2',
    500: '#514ea7',
    950: '#000000',
  },
}
SCSS
$custom: #514ea7;
$custom-light: #887fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#514ea7",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 242.022,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.13895,
    "h": 281.2
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#514EA7
secondary
#BDBE92
accent
#CC5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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