#514CDF#514CDF

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

Color values

HEX#514CDF
RGBrgb(81, 76, 223)
HSLhsl(242, 70%, 59%)
HSVhsv(242, 66%, 87%)
CMYKcmyk(63.7%, 65.9%, 0%, 12.5%)
CIE-LABlab(41.60, 45.56, -74.24)
CIE-LCHlch(41.60, 87.10, 301.54°)
OKLaboklab(51.56% 0.027 -0.2141)
OKLCHoklch(51.56% 0.216 277.2)
XYZxyz(19.2927, 12.2443, 71.1444)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CDF #DADF4C
analogous
#4C90DF #514CDF #9A4CDF
triadic
#514CDF #DF514C #4CDF51
tetradic
#514CDF #DF4C90 #DADF4C #4CDF9A
square
#514CDF #DF4C90 #DADF4C #4CDF9A
split-complementary
#514CDF #DF9A4C #90DF4C
monochromatic
#1F1B96 #2A24CA #514CDF #8380E8 #B6B4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514CDF#FFFFFF#000000##FFFFFF
##514CDF1.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)
#0068E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514cdf;
/* rgb */ color: rgb(81, 76, 223);
/* oklch */ color: oklch(51.6% 0.216 277.2);
Tailwind
colors: {
  custom: {
    50: '#927fea',
    500: '#514cdf',
    950: '#000000',
  },
}
SCSS
$custom: #514cdf;
$custom-light: #927fea;
$custom-dark: #000000;
JSON
{
  "hex": "#514cdf",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 242.041,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.21581,
    "h": 277.2
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#514CDF
secondary
#DEE0A6
accent
#EC3BE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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