#514CE7#514CE7

#514CE7 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.226 H 276.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#514CE7
RGBrgb(81, 76, 231)
HSLhsl(242, 76%, 60%)
HSVhsv(242, 67%, 91%)
CMYKcmyk(64.9%, 67.1%, 0%, 9.4%)
CIE-LABlab(42.29, 48.12, -77.66)
CIE-LCHlch(42.29, 91.36, 301.78°)
OKLaboklab(52.26% 0.026 -0.2241)
OKLCHoklch(52.26% 0.226 276.6)
XYZxyz(20.3969, 12.6860, 76.9596)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CE7 #E2E74C
analogous
#4C95E7 #514CE7 #9E4CE7
triadic
#514CE7 #E7514C #4CE751
tetradic
#514CE7 #E74C95 #E2E74C #4CE79E
square
#514CE7 #E74C95 #E2E74C #4CE79E
split-complementary
#514CE7 #E79E4C #95E74C
monochromatic
#1A16A3 #231DD9 #514CE7 #8582EE #BAB8F5

Accessibility & contrast

On white

5.94
#514CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#514CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CE7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CE7#FFFFFF#000000##FFFFFF
##514CE71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#005DE4
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514ce7;
/* rgb */ color: rgb(81, 76, 231);
/* oklch */ color: oklch(52.3% 0.226 276.6);
Tailwind
colors: {
  custom: {
    50: '#937ff0',
    500: '#514ce7',
    950: '#000000',
  },
}
SCSS
$custom: #514ce7;
$custom-light: #937ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#514ce7",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 241.935,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.22566,
    "h": 276.6
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#514CE7
secondary
#E3E5AA
accent
#D90DD2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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