#514DCE#514DCE

#514DCE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.193 H 278.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#514DCE
RGBrgb(81, 77, 206)
HSLhsl(242, 57%, 55%)
HSVhsv(242, 63%, 81%)
CMYKcmyk(60.7%, 62.6%, 0%, 19.2%)
CIE-LABlab(40.43, 39.49, -66.40)
CIE-LCHlch(40.43, 77.26, 300.74°)
OKLaboklab(50.28% 0.0277 -0.1911)
OKLCHoklch(50.28% 0.193 278.2)
XYZxyz(17.1842, 11.5120, 59.6970)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DCE #CACE4D
analogous
#4D8ACE #514DCE #914DCE
triadic
#514DCE #CE514D #4DCE51
tetradic
#514DCE #CE4D8A #CACE4D #4DCE91
square
#514DCE #CE4D8A #CACE4D #4DCE91
split-complementary
#514DCE #CE914D #8ACE4D
monochromatic
#25237E #3430AE #514DCE #807DDB #AFADE8

Accessibility & contrast

On white

6.36
#514DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#514DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DCE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DCE#FFFFFF#000000##FFFFFF
##514DCE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514dce;
/* rgb */ color: rgb(81, 77, 206);
/* oklch */ color: oklch(50.3% 0.193 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f7fde',
    500: '#514dce',
    950: '#000000',
  },
}
SCSS
$custom: #514dce;
$custom-light: #8f7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#514dce",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 241.86,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.19312,
    "h": 278.2
  },
  "luminance": 0.11513
}

Semantic roles & 50–950 ramp

primary
#514DCE
secondary
#D5D6A1
accent
#E048DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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