#514DC6#514DC6

#514DC6 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.183 H 278.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#514DC6
RGBrgb(81, 77, 198)
HSLhsl(242, 51%, 54%)
HSVhsv(242, 61%, 78%)
CMYKcmyk(59.1%, 61.1%, 0%, 22.4%)
CIE-LABlab(39.80, 36.90, -62.79)
CIE-LCHlch(39.80, 72.83, 300.44°)
OKLaboklab(49.62% 0.0282 -0.1805)
OKLCHoklch(49.62% 0.183 278.9)
XYZxyz(16.2370, 11.1331, 54.7084)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC6 #C2C64D
analogous
#4D86C6 #514DC6 #8E4DC6
triadic
#514DC6 #C6514D #4DC651
tetradic
#514DC6 #C64D86 #C2C64D #4DC68E
square
#514DC6 #C64D86 #C2C64D #4DC68E
split-complementary
#514DC6 #C68E4D #86C64D
monochromatic
#282574 #3734A2 #514DC6 #7E7BD5 #ACAAE4

Accessibility & contrast

On white

6.51
#514DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#514DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC6#FFFFFF#000000##FFFFFF
##514DC61.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514dc6;
/* rgb */ color: rgb(81, 77, 198);
/* oklch */ color: oklch(49.6% 0.183 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d7fd8',
    500: '#514dc6',
    950: '#000000',
  },
}
SCSS
$custom: #514dc6;
$custom-light: #8d7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc6",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 241.983,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.18269,
    "h": 278.9
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#514DC6
secondary
#D0D19E
accent
#DB4DD6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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