#514CC7#514CC7

#514CC7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.185 H 279.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#514CC7
RGBrgb(81, 76, 199)
HSLhsl(242, 52%, 54%)
HSVhsv(242, 62%, 78%)
CMYKcmyk(59.3%, 61.8%, 0%, 22%)
CIE-LABlab(39.65, 37.83, -63.62)
CIE-LCHlch(39.65, 74.02, 300.74°)
OKLaboklab(49.53% 0.029 -0.183)
OKLCHoklch(49.53% 0.185 279)
XYZxyz(16.2833, 11.0406, 55.2947)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC7 #C2C74C
analogous
#4C85C7 #514CC7 #8F4CC7
triadic
#514CC7 #C7514C #4CC751
tetradic
#514CC7 #C74C85 #C2C74C #4CC78F
square
#514CC7 #C74C85 #C2C74C #4CC78F
split-complementary
#514CC7 #C78F4C #85C74C
monochromatic
#282474 #3733A3 #514CC7 #7E7BD6 #ACA9E4

Accessibility & contrast

On white

6.55
#514CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#514CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC7#FFFFFF#000000##FFFFFF
##514CC71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514cc7;
/* rgb */ color: rgb(81, 76, 199);
/* oklch */ color: oklch(49.5% 0.185 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d7ed9',
    500: '#514cc7',
    950: '#000000',
  },
}
SCSS
$custom: #514cc7;
$custom-light: #8d7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc7",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 242.439,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.18525,
    "h": 279
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#514CC7
secondary
#D0D29D
accent
#DC4CD6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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