#514AAF#514AAF

#514AAF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.156 H 281.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#514AAF
RGBrgb(81, 74, 175)
HSLhsl(244, 41%, 49%)
HSVhsv(244, 58%, 69%)
CMYKcmyk(53.7%, 57.7%, 0%, 31.4%)
CIE-LABlab(37.37, 31.32, -53.23)
CIE-LCHlch(37.37, 61.76, 300.47°)
OKLaboklab(47.29% 0.0318 -0.1524)
OKLCHoklch(47.29% 0.156 281.8)
XYZxyz(13.5776, 9.7412, 41.7139)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AAF #A8AF4A
analogous
#4A76AF #514AAF #844AAF
triadic
#514AAF #AF514A #4AAF51
tetradic
#514AAF #AF4A76 #A8AF4A #4AAF84
square
#514AAF #AF4A76 #A8AF4A #4AAF84
split-complementary
#514AAF #AF844A #76AF4A
monochromatic
#292659 #3D3884 #514AAF #7873C4 #A19ED6

Accessibility & contrast

On white

7.12
#514AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514AAF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AAF#FFFFFF#000000##FFFFFF
##514AAF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#286175
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #514aaf;
/* rgb */ color: rgb(81, 74, 175);
/* oklch */ color: oklch(47.3% 0.156 281.8);
Tailwind
colors: {
  custom: {
    50: '#8a7dc8',
    500: '#514aaf',
    950: '#000000',
  },
}
SCSS
$custom: #514aaf;
$custom-light: #8a7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#514aaf",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 244.158,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47289,
    "c": 0.1557,
    "h": 281.8
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#514AAF
secondary
#BFC292
accent
#D057C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #514AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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