#514CC6#514CC6

#514CC6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.4% C 0.184 H 279.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#514CC6
RGBrgb(81, 76, 198)
HSLhsl(242, 52%, 54%)
HSVhsv(242, 62%, 78%)
CMYKcmyk(59.1%, 61.6%, 0%, 22.4%)
CIE-LABlab(39.57, 37.51, -63.16)
CIE-LCHlch(39.57, 73.46, 300.70°)
OKLaboklab(49.45% 0.0291 -0.1816)
OKLCHoklch(49.45% 0.184 279.1)
XYZxyz(16.1676, 10.9943, 54.6853)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC6 #C1C64C
analogous
#4C84C6 #514CC6 #8E4CC6
triadic
#514CC6 #C6514C #4CC651
tetradic
#514CC6 #C64C84 #C1C64C #4CC68E
square
#514CC6 #C64C84 #C1C64C #4CC68E
split-complementary
#514CC6 #C68E4C #84C64C
monochromatic
#282573 #3833A1 #514CC6 #7E7AD5 #ABA9E4

Accessibility & contrast

On white

6.56
#514CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#514CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC6#FFFFFF#000000##FFFFFF
##514CC61.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514cc6;
/* rgb */ color: rgb(81, 76, 198);
/* oklch */ color: oklch(49.4% 0.184 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d7ed8',
    500: '#514cc6',
    950: '#000000',
  },
}
SCSS
$custom: #514cc6;
$custom-light: #8d7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc6",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 242.459,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.18394,
    "h": 279.1
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#514CC6
secondary
#CFD19D
accent
#DB4DD5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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