#514DE7#514DE7

#514DE7 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.4% C 0.225 H 276.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#514DE7
RGBrgb(81, 77, 231)
HSLhsl(242, 76%, 60%)
HSVhsv(242, 67%, 91%)
CMYKcmyk(64.9%, 66.7%, 0%, 9.4%)
CIE-LABlab(42.50, 47.54, -77.31)
CIE-LCHlch(42.50, 90.76, 301.59°)
OKLaboklab(52.42% 0.0253 -0.2231)
OKLCHoklch(52.42% 0.225 276.5)
XYZxyz(20.4663, 12.8249, 76.9827)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DE7 #E3E74D
analogous
#4D96E7 #514DE7 #9E4DE7
triadic
#514DE7 #E7514D #4DE751
tetradic
#514DE7 #E74D96 #E3E74D #4DE79E
square
#514DE7 #E74D96 #E3E74D #4DE79E
split-complementary
#514DE7 #E79E4D #96E74D
monochromatic
#1A16A4 #221DD9 #514DE7 #8683EE #BAB9F6

Accessibility & contrast

On white

5.89
#514DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#514DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DE7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DE7#FFFFFF#000000##FFFFFF
##514DE71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514de7;
/* rgb */ color: rgb(81, 77, 231);
/* oklch */ color: oklch(52.4% 0.225 276.5);
Tailwind
colors: {
  custom: {
    50: '#9380f0',
    500: '#514de7',
    950: '#000000',
  },
}
SCSS
$custom: #514de7;
$custom-light: #9380f0;
$custom-dark: #000000;
JSON
{
  "hex": "#514de7",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 241.558,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52417,
    "c": 0.22456,
    "h": 276.5
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#514DE7
secondary
#E4E5AA
accent
#D80DD3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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