#514FD7#514FD7

#514FD7 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.4% C 0.202 H 277.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#514FD7
RGBrgb(81, 79, 215)
HSLhsl(241, 63%, 58%)
HSVhsv(241, 63%, 84%)
CMYKcmyk(62.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(41.60, 41.22, -69.66)
CIE-LCHlch(41.60, 80.94, 300.61°)
OKLaboklab(51.36% 0.0254 -0.2007)
OKLCHoklch(51.36% 0.202 277.2)
XYZxyz(18.4511, 12.2461, 65.6682)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD7 #D5D74F
analogous
#4F91D7 #514FD7 #954FD7
triadic
#514FD7 #D7514F #4FD751
tetradic
#514FD7 #D74F91 #D5D74F #4FD795
square
#514FD7 #D74F91 #D5D74F #4FD795
split-complementary
#514FD7 #D7954F #91D74F
monochromatic
#21208C #2D2BBE #514FD7 #8281E2 #B4B3EE

Accessibility & contrast

On white

6.09
#514FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#514FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD7#FFFFFF#000000##FFFFFF
##514FD71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514fd7;
/* rgb */ color: rgb(81, 79, 215);
/* oklch */ color: oklch(51.4% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#9081e4',
    500: '#514fd7',
    950: '#000000',
  },
}
SCSS
$custom: #514fd7;
$custom-light: #9081e4;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd7",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 240.882,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51357,
    "c": 0.20228,
    "h": 277.2
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#514FD7
secondary
#DBDCA6
accent
#E642E4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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