#514FA7#514FA7

#514FA7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.138 H 280.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#514FA7
RGBrgb(81, 79, 167)
HSLhsl(241, 36%, 48%)
HSVhsv(241, 53%, 65%)
CMYKcmyk(51.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(38.08, 25.60, -47.35)
CIE-LCHlch(38.08, 53.82, 298.40°)
OKLaboklab(47.64% 0.0259 -0.1351)
OKLCHoklch(47.64% 0.138 280.8)
XYZxyz(13.1622, 10.1306, 37.8136)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA7 #A5A74F
analogous
#4F79A7 #514FA7 #7D4FA7
triadic
#514FA7 #A7514F #4FA751
tetradic
#514FA7 #A74F79 #A5A74F #4FA77D
square
#514FA7 #A74F79 #A5A74F #4FA77D
split-complementary
#514FA7 #A77D4F #79A74F
monochromatic
#292854 #3D3B7D #514FA7 #7775BE #A09FD2

Accessibility & contrast

On white

6.94
#514FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#514FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FA7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA7#FFFFFF#000000##FFFFFF
##514FA71.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#1856A5
Tritanopia (blue-blind)
#2F6273
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514fa7;
/* rgb */ color: rgb(81, 79, 167);
/* oklch */ color: oklch(47.6% 0.138 280.8);
Tailwind
colors: {
  custom: {
    50: '#8880c2',
    500: '#514fa7',
    950: '#000000',
  },
}
SCSS
$custom: #514fa7;
$custom-light: #8880c2;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa7",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 241.364,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.13753,
    "h": 280.8
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#514FA7
secondary
#BDBE93
accent
#CC5CC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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