#514DC4#514DC4

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

Color values

HEX#514DC4
RGBrgb(81, 77, 196)
HSLhsl(242, 50%, 54%)
HSVhsv(242, 61%, 77%)
CMYKcmyk(58.7%, 60.7%, 0%, 23.1%)
CIE-LABlab(39.65, 36.25, -61.87)
CIE-LCHlch(39.65, 71.71, 300.37°)
OKLaboklab(49.46% 0.0283 -0.1778)
OKLCHoklch(49.46% 0.18 279)
XYZxyz(16.0079, 11.0415, 53.5015)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC4 #C0C44D
analogous
#4D84C4 #514DC4 #8C4DC4
triadic
#514DC4 #C4514D #4DC451
tetradic
#514DC4 #C44D84 #C0C44D #4DC48C
square
#514DC4 #C44D84 #C0C44D #4DC48C
split-complementary
#514DC4 #C48C4D #84C44D
monochromatic
#282571 #38359F #514DC4 #7E7BD3 #ABA9E2

Accessibility & contrast

On white

6.54
#514DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514DC4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC4#FFFFFF#000000##FFFFFF
##514DC41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514dc4;
/* rgb */ color: rgb(81, 77, 196);
/* oklch */ color: oklch(49.5% 0.180 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d7fd7',
    500: '#514dc4',
    950: '#000000',
  },
}
SCSS
$custom: #514dc4;
$custom-light: #8d7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc4",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 242.017,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.18005,
    "h": 279
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#514DC4
secondary
#CED09D
accent
#DA4ED5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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