#514DC8#514DC8

#514DC8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.8% C 0.185 H 278.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#514DC8
RGBrgb(81, 77, 200)
HSLhsl(242, 53%, 54%)
HSVhsv(242, 62%, 78%)
CMYKcmyk(59.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(39.96, 37.55, -63.69)
CIE-LCHlch(39.96, 73.94, 300.52°)
OKLaboklab(49.78% 0.0281 -0.1832)
OKLCHoklch(49.78% 0.185 278.7)
XYZxyz(16.4692, 11.2260, 55.9314)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC8 #C4C84D
analogous
#4D87C8 #514DC8 #8F4DC8
triadic
#514DC8 #C8514D #4DC851
tetradic
#514DC8 #C84D87 #C4C84D #4DC88F
square
#514DC8 #C84D87 #C4C84D #4DC88F
split-complementary
#514DC8 #C88F4D #87C84D
monochromatic
#272476 #3733A5 #514DC8 #7F7CD6 #ACABE5

Accessibility & contrast

On white

6.47
#514DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514DC8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC8#FFFFFF#000000##FFFFFF
##514DC81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514dc8;
/* rgb */ color: rgb(81, 77, 200);
/* oklch */ color: oklch(49.8% 0.185 278.7);
Tailwind
colors: {
  custom: {
    50: '#8d7fda',
    500: '#514dc8',
    950: '#000000',
  },
}
SCSS
$custom: #514dc8;
$custom-light: #8d7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc8",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 241.951,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.18532,
    "h": 278.7
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#514DC8
secondary
#D1D29E
accent
#DC4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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