#514FA4#514FA4

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

Color values

HEX#514FA4
RGBrgb(81, 79, 164)
HSLhsl(241, 35%, 48%)
HSVhsv(241, 52%, 64%)
CMYKcmyk(50.6%, 51.8%, 0%, 35.7%)
CIE-LABlab(37.88, 24.63, -45.87)
CIE-LCHlch(37.88, 52.07, 298.24°)
OKLaboklab(47.43% 0.0256 -0.1307)
OKLCHoklch(47.43% 0.133 281.1)
XYZxyz(12.8881, 10.0209, 36.3699)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA4 #A2A44F
analogous
#4F77A4 #514FA4 #7C4FA4
triadic
#514FA4 #A4514F #4FA451
tetradic
#514FA4 #A44F77 #A2A44F #4FA47C
square
#514FA4 #A44F77 #A2A44F #4FA47C
split-complementary
#514FA4 #A47C4F #77A44F
monochromatic
#282751 #3D3B7B #514FA4 #7674BC #9F9DD0

Accessibility & contrast

On white

6.99
#514FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514FA4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA4#FFFFFF#000000##FFFFFF
##514FA41.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#316272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514fa4;
/* rgb */ color: rgb(81, 79, 164);
/* oklch */ color: oklch(47.4% 0.133 281.1);
Tailwind
colors: {
  custom: {
    50: '#8880bf',
    500: '#514fa4',
    950: '#000000',
  },
}
SCSS
$custom: #514fa4;
$custom-light: #8880bf;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa4",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 241.412,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.13324,
    "h": 281.1
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#514FA4
secondary
#BCBD92
accent
#CB5DC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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