#514DD7#514DD7

#514DD7 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.0% C 0.205 H 277.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#514DD7
RGBrgb(81, 77, 215)
HSLhsl(242, 63%, 57%)
HSVhsv(242, 64%, 84%)
CMYKcmyk(62.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(41.16, 42.41, -70.39)
CIE-LCHlch(41.16, 82.18, 301.07°)
OKLaboklab(51.03% 0.027 -0.2028)
OKLCHoklch(51.03% 0.205 277.6)
XYZxyz(18.3090, 11.9619, 65.6209)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DD7 #D3D74D
analogous
#4D8ED7 #514DD7 #964DD7
triadic
#514DD7 #D7514D #4DD751
tetradic
#514DD7 #D74D8E #D3D74D #4DD796
square
#514DD7 #D74D8E #D3D74D #4DD796
split-complementary
#514DD7 #D7964D #8ED74D
monochromatic
#221F8A #2F2ABC #514DD7 #827FE2 #B3B1ED

Accessibility & contrast

On white

6.19
#514DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#514DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DD7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DD7#FFFFFF#000000##FFFFFF
##514DD71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514dd7;
/* rgb */ color: rgb(81, 77, 215);
/* oklch */ color: oklch(51.0% 0.205 277.6);
Tailwind
colors: {
  custom: {
    50: '#907fe4',
    500: '#514dd7',
    950: '#000000',
  },
}
SCSS
$custom: #514dd7;
$custom-light: #907fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#514dd7",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 241.739,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.20463,
    "h": 277.6
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#514DD7
secondary
#DADCA4
accent
#E641E2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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