#514ED0#514ED0

#514ED0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.194 H 277.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#514ED0
RGBrgb(81, 78, 208)
HSLhsl(241, 58%, 56%)
HSVhsv(241, 63%, 82%)
CMYKcmyk(61.1%, 62.5%, 0%, 18.4%)
CIE-LABlab(40.82, 39.54, -66.92)
CIE-LCHlch(40.82, 77.73, 300.58°)
OKLaboklab(50.61% 0.0267 -0.1926)
OKLCHoklch(50.61% 0.194 277.9)
XYZxyz(17.4992, 11.7508, 61.0083)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ED0 #CDD04E
analogous
#4E8CD0 #514ED0 #924ED0
triadic
#514ED0 #D0514E #4ED051
tetradic
#514ED0 #D04E8C #CDD04E #4ED092
square
#514ED0 #D04E8C #CDD04E #4ED092
split-complementary
#514ED0 #D0924E #8CD04E
monochromatic
#252281 #322FB2 #514ED0 #817EDD #B0AFEA

Accessibility & contrast

On white

6.27
#514ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#514ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ED0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ED0#FFFFFF#000000##FFFFFF
##514ED01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514ed0;
/* rgb */ color: rgb(81, 78, 208);
/* oklch */ color: oklch(50.6% 0.194 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f80df',
    500: '#514ed0',
    950: '#000000',
  },
}
SCSS
$custom: #514ed0;
$custom-light: #8f80df;
$custom-dark: #000000;
JSON
{
  "hex": "#514ed0",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 208
  },
  "hsl": {
    "h": 241.385,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.19449,
    "h": 277.9
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#514ED0
secondary
#D7D8A2
accent
#E147DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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