#514CD7#514CD7

#514CD7 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.9% C 0.206 H 277.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#514CD7
RGBrgb(81, 76, 215)
HSLhsl(242, 63%, 57%)
HSVhsv(242, 65%, 84%)
CMYKcmyk(62.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(40.93, 43.00, -70.76)
CIE-LCHlch(40.93, 82.80, 301.29°)
OKLaboklab(50.87% 0.0278 -0.2039)
OKLCHoklch(50.87% 0.206 277.8)
XYZxyz(18.2396, 11.8231, 65.5977)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD7 #D2D74C
analogous
#4C8DD7 #514CD7 #964CD7
triadic
#514CD7 #D7514C #4CD751
tetradic
#514CD7 #D74C8D #D2D74C #4CD796
square
#514CD7 #D74C8D #D2D74C #4CD796
split-complementary
#514CD7 #D7964C #8DD74C
monochromatic
#231F8A #2F2ABC #514CD7 #827EE2 #B2B0ED

Accessibility & contrast

On white

6.24
#514CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#514CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD7#FFFFFF#000000##FFFFFF
##514CD71.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514cd7;
/* rgb */ color: rgb(81, 76, 215);
/* oklch */ color: oklch(50.9% 0.206 277.8);
Tailwind
colors: {
  custom: {
    50: '#907fe4',
    500: '#514cd7',
    950: '#000000',
  },
}
SCSS
$custom: #514cd7;
$custom-light: #907fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd7",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 242.158,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.20579,
    "h": 277.8
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#514CD7
secondary
#DADCA3
accent
#E641E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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