#514FA6#514FA6

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

Color values

HEX#514FA6
RGBrgb(81, 79, 166)
HSLhsl(241, 36%, 48%)
HSVhsv(241, 52%, 65%)
CMYKcmyk(51.2%, 52.4%, 0%, 34.9%)
CIE-LABlab(38.01, 25.28, -46.86)
CIE-LCHlch(38.01, 53.24, 298.34°)
OKLaboklab(47.57% 0.0258 -0.1336)
OKLCHoklch(47.57% 0.136 280.9)
XYZxyz(13.0701, 10.0937, 37.3286)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA6 #A4A64F
analogous
#4F78A6 #514FA6 #7C4FA6
triadic
#514FA6 #A6514F #4FA651
tetradic
#514FA6 #A64F78 #A4A64F #4FA67C
square
#514FA6 #A64F78 #A4A64F #4FA67C
split-complementary
#514FA6 #A67C4F #78A64F
monochromatic
#292853 #3D3B7D #514FA6 #7775BD #A09ED1

Accessibility & contrast

On white

6.96
#514FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#514FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FA6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA6#FFFFFF#000000##FFFFFF
##514FA61.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#1A56A4
Tritanopia (blue-blind)
#306273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514fa6;
/* rgb */ color: rgb(81, 79, 166);
/* oklch */ color: oklch(47.6% 0.136 280.9);
Tailwind
colors: {
  custom: {
    50: '#8880c1',
    500: '#514fa6',
    950: '#000000',
  },
}
SCSS
$custom: #514fa6;
$custom-light: #8880c1;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa6",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 241.379,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.13611,
    "h": 280.9
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#514FA6
secondary
#BDBE93
accent
#CC5CC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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