#514EE7#514EE7

#514EE7 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.223 H 276.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#514EE7
RGBrgb(81, 78, 231)
HSLhsl(241, 76%, 61%)
HSVhsv(241, 66%, 91%)
CMYKcmyk(64.9%, 66.2%, 0%, 9.4%)
CIE-LABlab(42.71, 46.96, -76.96)
CIE-LCHlch(42.71, 90.16, 301.39°)
OKLaboklab(52.57% 0.0246 -0.2221)
OKLCHoklch(52.57% 0.223 276.3)
XYZxyz(20.5368, 12.9659, 77.0062)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EE7 #E4E74E
analogous
#4E98E7 #514EE7 #9D4EE7
triadic
#514EE7 #E7514E #4EE751
tetradic
#514EE7 #E74E98 #E4E74E #4EE79D
square
#514EE7 #E74E98 #E4E74E #4EE79D
split-complementary
#514EE7 #E79D4E #98E74E
monochromatic
#1916A4 #211EDA #514EE7 #8684EE #BBBAF6

Accessibility & contrast

On white

5.84
#514EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#514EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EE7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EE7#FFFFFF#000000##FFFFFF
##514EE71.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514ee7;
/* rgb */ color: rgb(81, 78, 231);
/* oklch */ color: oklch(52.6% 0.223 276.3);
Tailwind
colors: {
  custom: {
    50: '#9380f0',
    500: '#514ee7',
    950: '#000000',
  },
}
SCSS
$custom: #514ee7;
$custom-light: #9380f0;
$custom-dark: #000000;
JSON
{
  "hex": "#514ee7",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 241.176,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.22346,
    "h": 276.3
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#514EE7
secondary
#E4E5AB
accent
#D80DD4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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