#514FCD#514FCD

#514FCD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.189 H 277.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#514FCD
RGBrgb(81, 79, 205)
HSLhsl(241, 56%, 56%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(60.5%, 61.5%, 0%, 19.6%)
CIE-LABlab(40.81, 37.96, -65.20)
CIE-LCHlch(40.81, 75.44, 300.21°)
OKLaboklab(50.53% 0.026 -0.1876)
OKLCHoklch(50.53% 0.189 277.9)
XYZxyz(17.2052, 11.7478, 59.1067)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FCD #CBCD4F
analogous
#4F8CCD #514FCD #904FCD
triadic
#514FCD #CD514F #4FCD51
tetradic
#514FCD #CD4F8C #CBCD4F #4FCD90
square
#514FCD #CD4F8C #CBCD4F #4FCD90
split-complementary
#514FCD #CD904F #8CCD4F
monochromatic
#25247E #3331AE #514FCD #807FDB #AFAEE8

Accessibility & contrast

On white

6.27
#514FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#514FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FCD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FCD#FFFFFF#000000##FFFFFF
##514FCD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514fcd;
/* rgb */ color: rgb(81, 79, 205);
/* oklch */ color: oklch(50.5% 0.189 277.9);
Tailwind
colors: {
  custom: {
    50: '#8e80dd',
    500: '#514fcd',
    950: '#000000',
  },
}
SCSS
$custom: #514fcd;
$custom-light: #8e80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#514fcd",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 240.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.18937,
    "h": 277.9
  },
  "luminance": 0.11749
}

Semantic roles & 50–950 ramp

primary
#514FCD
secondary
#D5D6A2
accent
#DF49DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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