#514FE7#514FE7

#514FE7 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.222 H 276.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#514FE7
RGBrgb(81, 79, 231)
HSLhsl(241, 76%, 61%)
HSVhsv(241, 66%, 91%)
CMYKcmyk(64.9%, 65.8%, 0%, 9.4%)
CIE-LABlab(42.93, 46.38, -76.61)
CIE-LCHlch(42.93, 89.56, 301.19°)
OKLaboklab(52.73% 0.0239 -0.2211)
OKLCHoklch(52.73% 0.222 276.2)
XYZxyz(20.6084, 13.1090, 77.0301)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FE7 #E5E74F
analogous
#4F99E7 #514FE7 #9D4FE7
triadic
#514FE7 #E7514F #4FE751
tetradic
#514FE7 #E74F99 #E5E74F #4FE79D
square
#514FE7 #E74F99 #E5E74F #4FE79D
split-complementary
#514FE7 #E79D4F #99E74F
monochromatic
#1817A5 #201EDB #514FE7 #8685EE #BBBBF6

Accessibility & contrast

On white

5.80
#514FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#514FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FE7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FE7#FFFFFF#000000##FFFFFF
##514FE71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514fe7;
/* rgb */ color: rgb(81, 79, 231);
/* oklch */ color: oklch(52.7% 0.222 276.2);
Tailwind
colors: {
  custom: {
    50: '#9381f0',
    500: '#514fe7',
    950: '#000000',
  },
}
SCSS
$custom: #514fe7;
$custom-light: #9381f0;
$custom-dark: #000000;
JSON
{
  "hex": "#514fe7",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 240.789,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.22236,
    "h": 276.2
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#514FE7
secondary
#E5E6AC
accent
#D80DD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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