#514EC0#514EC0

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

Color values

HEX#514EC0
RGBrgb(81, 78, 192)
HSLhsl(242, 48%, 53%)
HSVhsv(242, 59%, 75%)
CMYKcmyk(57.8%, 59.4%, 0%, 24.7%)
CIE-LABlab(39.59, 34.34, -59.65)
CIE-LCHlch(39.59, 68.82, 299.93°)
OKLaboklab(49.32% 0.0274 -0.1713)
OKLCHoklch(49.32% 0.173 279.1)
XYZxyz(15.6291, 11.0028, 51.1591)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EC0 #BDC04E
analogous
#4E84C0 #514EC0 #8A4EC0
triadic
#514EC0 #C0514E #4EC051
tetradic
#514EC0 #C04E84 #BDC04E #4EC08A
square
#514EC0 #C04E84 #BDC04E #4EC08A
split-complementary
#514EC0 #C08A4E #84C04E
monochromatic
#29276D #39379A #514EC0 #7D7BD0 #AAA8E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514EC0#FFFFFF#000000##FFFFFF
##514EC01.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)
#0062C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#0B697F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514ec0;
/* rgb */ color: rgb(81, 78, 192);
/* oklch */ color: oklch(49.3% 0.173 279.1);
Tailwind
colors: {
  custom: {
    50: '#8c80d4',
    500: '#514ec0',
    950: '#000000',
  },
}
SCSS
$custom: #514ec0;
$custom-light: #8c80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#514ec0",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 241.579,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.17345,
    "h": 279.1
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#514EC0
secondary
#CCCE9C
accent
#D751D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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