#514BC6#514BC6

#514BC6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.3% C 0.185 H 279.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#514BC6
RGBrgb(81, 75, 198)
HSLhsl(243, 52%, 54%)
HSVhsv(243, 62%, 78%)
CMYKcmyk(59.1%, 62.1%, 0%, 22.4%)
CIE-LABlab(39.34, 38.11, -63.54)
CIE-LCHlch(39.34, 74.10, 300.96°)
OKLaboklab(49.28% 0.03 -0.1827)
OKLCHoklch(49.28% 0.185 279.3)
XYZxyz(16.0992, 10.8576, 54.6625)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC6 #C0C64B
analogous
#4B82C6 #514BC6 #8E4BC6
triadic
#514BC6 #C6514B #4BC651
tetradic
#514BC6 #C64B82 #C0C64B #4BC68E
square
#514BC6 #C64B82 #C0C64B #4BC68E
split-complementary
#514BC6 #C68E4B #82C64B
monochromatic
#282472 #3833A1 #514BC6 #7E79D5 #ABA8E3

Accessibility & contrast

On white

6.62
#514BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#514BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BC6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BC6#FFFFFF#000000##FFFFFF
##514BC61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514bc6;
/* rgb */ color: rgb(81, 75, 198);
/* oklch */ color: oklch(49.3% 0.185 279.3);
Tailwind
colors: {
  custom: {
    50: '#8d7ed8',
    500: '#514bc6',
    950: '#000000',
  },
}
SCSS
$custom: #514bc6;
$custom-light: #8d7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc6",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 242.927,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.18518,
    "h": 279.3
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#514BC6
secondary
#CED19C
accent
#DB4CD4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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