#514FAB#514FAB

#514FAB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.143 H 280.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#514FAB
RGBrgb(81, 79, 171)
HSLhsl(241, 37%, 49%)
HSVhsv(241, 54%, 67%)
CMYKcmyk(52.6%, 53.8%, 0%, 32.9%)
CIE-LABlab(38.34, 26.89, -49.30)
CIE-LCHlch(38.34, 56.15, 298.61°)
OKLaboklab(47.92% 0.0261 -0.1408)
OKLCHoklch(47.92% 0.143 280.5)
XYZxyz(13.5377, 10.2808, 39.7912)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FAB #A9AB4F
analogous
#4F7BAB #514FAB #7F4FAB
triadic
#514FAB #AB514F #4FAB51
tetradic
#514FAB #AB4F7B #A9AB4F #4FAB7F
square
#514FAB #AB4F7B #A9AB4F #4FAB7F
split-complementary
#514FAB #AB7F4F #7BAB4F
monochromatic
#292857 #3D3C81 #514FAB #7977C0 #A2A1D4

Accessibility & contrast

On white

6.87
#514FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#514FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FAB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FAB#FFFFFF#000000##FFFFFF
##514FAB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAE
Deuteranopia (green-blind)
#0F57A9
Tritanopia (blue-blind)
#2B6475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514fab;
/* rgb */ color: rgb(81, 79, 171);
/* oklch */ color: oklch(47.9% 0.143 280.5);
Tailwind
colors: {
  custom: {
    50: '#8980c5',
    500: '#514fab',
    950: '#000000',
  },
}
SCSS
$custom: #514fab;
$custom-light: #8980c5;
$custom-dark: #000000;
JSON
{
  "hex": "#514fab",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 241.304,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4792,
    "c": 0.14322,
    "h": 280.5
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#514FAB
secondary
#C0C195
accent
#CD5BCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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