#514FA9#514FA9

#514FA9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.140 H 280.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#514FA9
RGBrgb(81, 79, 169)
HSLhsl(241, 36%, 49%)
HSVhsv(241, 53%, 66%)
CMYKcmyk(52.1%, 53.3%, 0%, 33.7%)
CIE-LABlab(38.21, 26.24, -48.32)
CIE-LCHlch(38.21, 54.99, 298.50°)
OKLaboklab(47.78% 0.026 -0.138)
OKLCHoklch(47.78% 0.14 280.7)
XYZxyz(13.3486, 10.2051, 38.7948)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA9 #A7A94F
analogous
#4F7AA9 #514FA9 #7E4FA9
triadic
#514FA9 #A9514F #4FA951
tetradic
#514FA9 #A94F7A #A7A94F #4FA97E
square
#514FA9 #A94F7A #A7A94F #4FA97E
split-complementary
#514FA9 #A97E4F #7AA94F
monochromatic
#292856 #3D3C7F #514FA9 #7876BF #A1A0D3

Accessibility & contrast

On white

6.91
#514FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#514FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FA9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA9#FFFFFF#000000##FFFFFF
##514FA91.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAC
Deuteranopia (green-blind)
#1457A7
Tritanopia (blue-blind)
#2D6374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514fa9;
/* rgb */ color: rgb(81, 79, 169);
/* oklch */ color: oklch(47.8% 0.140 280.7);
Tailwind
colors: {
  custom: {
    50: '#8880c3',
    500: '#514fa9',
    950: '#000000',
  },
}
SCSS
$custom: #514fa9;
$custom-light: #8880c3;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa9",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 241.333,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47778,
    "c": 0.14039,
    "h": 280.7
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#514FA9
secondary
#BFC094
accent
#CC5CCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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