#514DC9#514DC9

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

Color values

HEX#514DC9
RGBrgb(81, 77, 201)
HSLhsl(242, 53%, 55%)
HSVhsv(242, 62%, 79%)
CMYKcmyk(59.7%, 61.7%, 0%, 21.2%)
CIE-LABlab(40.04, 37.87, -64.15)
CIE-LCHlch(40.04, 74.49, 300.56°)
OKLaboklab(49.86% 0.028 -0.1845)
OKLCHoklch(49.86% 0.187 278.6)
XYZxyz(16.5865, 11.2729, 56.5489)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC9 #C5C94D
analogous
#4D87C9 #514DC9 #8F4DC9
triadic
#514DC9 #C9514D #4DC951
tetradic
#514DC9 #C94D87 #C5C94D #4DC98F
square
#514DC9 #C94D87 #C5C94D #4DC98F
split-complementary
#514DC9 #C98F4D #87C94D
monochromatic
#272477 #3632A6 #514DC9 #7F7CD7 #ADABE5

Accessibility & contrast

On white

6.45
#514DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#514DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC9#FFFFFF#000000##FFFFFF
##514DC91.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514dc9;
/* rgb */ color: rgb(81, 77, 201);
/* oklch */ color: oklch(49.9% 0.187 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e7fda',
    500: '#514dc9',
    950: '#000000',
  },
}
SCSS
$custom: #514dc9;
$custom-light: #8e7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc9",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 241.935,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.18662,
    "h": 278.6
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#514DC9
secondary
#D1D39F
accent
#DD4BD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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