#514FA3#514FA3

#514FA3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.132 H 281.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#514FA3
RGBrgb(81, 79, 163)
HSLhsl(241, 35%, 47%)
HSVhsv(241, 52%, 64%)
CMYKcmyk(50.3%, 51.5%, 0%, 36.1%)
CIE-LABlab(37.82, 24.31, -45.38)
CIE-LCHlch(37.82, 51.48, 298.18°)
OKLaboklab(47.36% 0.0256 -0.1293)
OKLCHoklch(47.36% 0.132 281.2)
XYZxyz(12.7982, 9.9849, 35.8962)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FA3 #A1A34F
analogous
#4F77A3 #514FA3 #7B4FA3
triadic
#514FA3 #A3514F #4FA351
tetradic
#514FA3 #A34F77 #A1A34F #4FA37B
square
#514FA3 #A34F77 #A1A34F #4FA37B
split-complementary
#514FA3 #A37B4F #77A34F
monochromatic
#282751 #3D3B7A #514FA3 #7574BB #9E9DCF

Accessibility & contrast

On white

7.01
#514FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#514FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FA3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FA3#FFFFFF#000000##FFFFFF
##514FA31.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#1F56A1
Tritanopia (blue-blind)
#326171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514fa3;
/* rgb */ color: rgb(81, 79, 163);
/* oklch */ color: oklch(47.4% 0.132 281.2);
Tailwind
colors: {
  custom: {
    50: '#8880bf',
    500: '#514fa3',
    950: '#000000',
  },
}
SCSS
$custom: #514fa3;
$custom-light: #8880bf;
$custom-dark: #000000;
JSON
{
  "hex": "#514fa3",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 241.429,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.1318,
    "h": 281.2
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#514FA3
secondary
#BBBC91
accent
#CB5DC8
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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