#514DCA#514DCA

#514DCA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.188 H 278.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#514DCA
RGBrgb(81, 77, 202)
HSLhsl(242, 54%, 55%)
HSVhsv(242, 62%, 79%)
CMYKcmyk(59.9%, 61.9%, 0%, 20.8%)
CIE-LABlab(40.11, 38.20, -64.60)
CIE-LCHlch(40.11, 75.05, 300.60°)
OKLaboklab(49.95% 0.028 -0.1858)
OKLCHoklch(49.95% 0.188 278.6)
XYZxyz(16.7045, 11.3201, 57.1704)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DCA #C6CA4D
analogous
#4D88CA #514DCA #904DCA
triadic
#514DCA #CA514D #4DCA51
tetradic
#514DCA #CA4D88 #C6CA4D #4DCA90
square
#514DCA #CA4D88 #C6CA4D #4DCA90
split-complementary
#514DCA #CA904D #88CA4D
monochromatic
#272479 #3632A8 #514DCA #7F7CD8 #ADABE6

Accessibility & contrast

On white

6.43
#514DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#514DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DCA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DCA#FFFFFF#000000##FFFFFF
##514DCA1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514dca;
/* rgb */ color: rgb(81, 77, 202);
/* oklch */ color: oklch(49.9% 0.188 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e7fdb',
    500: '#514dca',
    950: '#000000',
  },
}
SCSS
$custom: #514dca;
$custom-light: #8e7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#514dca",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 241.92,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.18793,
    "h": 278.6
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#514DCA
secondary
#D2D49F
accent
#DD4AD9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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