#514FA5#514FA5

#514FA5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.135 H 281.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#514FA5
RGBrgb(81, 79, 165)
HSLhsl(241, 35%, 48%)
HSVhsv(241, 52%, 65%)
CMYKcmyk(50.9%, 52.1%, 0%, 35.3%)
CIE-LABlab(37.94, 24.95, -46.36)
CIE-LCHlch(37.94, 52.65, 298.29°)
OKLaboklab(47.5% 0.0257 -0.1322)
OKLCHoklch(47.5% 0.135 281)
XYZxyz(12.9788, 10.0572, 36.8474)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA5 #A3A54F
analogous
#4F78A5 #514FA5 #7C4FA5
triadic
#514FA5 #A5514F #4FA551
tetradic
#514FA5 #A54F78 #A3A54F #4FA57C
square
#514FA5 #A54F78 #A3A54F #4FA57C
split-complementary
#514FA5 #A57C4F #78A54F
monochromatic
#282752 #3D3B7C #514FA5 #7675BD #9F9ED1

Accessibility & contrast

On white

6.97
#514FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#514FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FA5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA5#FFFFFF#000000##FFFFFF
##514FA51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA8
Deuteranopia (green-blind)
#1C56A3
Tritanopia (blue-blind)
#306272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514fa5;
/* rgb */ color: rgb(81, 79, 165);
/* oklch */ color: oklch(47.5% 0.135 281.0);
Tailwind
colors: {
  custom: {
    50: '#8880c0',
    500: '#514fa5',
    950: '#000000',
  },
}
SCSS
$custom: #514fa5;
$custom-light: #8880c0;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa5",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 241.395,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.13468,
    "h": 281
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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