#514FB5#514FB5

#514FB5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.157 H 279.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#514FB5
RGBrgb(81, 79, 181)
HSLhsl(241, 41%, 51%)
HSVhsv(241, 56%, 71%)
CMYKcmyk(55.2%, 56.4%, 0%, 29%)
CIE-LABlab(39.03, 30.13, -54.10)
CIE-LCHlch(39.03, 61.92, 299.12°)
OKLaboklab(48.65% 0.0265 -0.1549)
OKLCHoklch(48.65% 0.157 279.7)
XYZxyz(14.5272, 10.6766, 45.0024)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FB5 #B3B54F
analogous
#4F80B5 #514FB5 #844FB5
triadic
#514FB5 #B5514F #4FB551
tetradic
#514FB5 #B54F80 #B3B54F #4FB584
square
#514FB5 #B54F80 #B3B54F #4FB584
split-complementary
#514FB5 #B5844F #80B54F
monochromatic
#2A2961 #3C3B8C #514FB5 #7C7AC7 #A6A5D9

Accessibility & contrast

On white

6.70
#514FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#514FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FB5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FB5#FFFFFF#000000##FFFFFF
##514FB51.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0160B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#20677A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514fb5;
/* rgb */ color: rgb(81, 79, 181);
/* oklch */ color: oklch(48.7% 0.157 279.7);
Tailwind
colors: {
  custom: {
    50: '#8a80cc',
    500: '#514fb5',
    950: '#000000',
  },
}
SCSS
$custom: #514fb5;
$custom-light: #8a80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#514fb5",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 241.176,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.15718,
    "h": 279.7
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#514FB5
secondary
#C6C699
accent
#D157CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #514FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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