#514EC6#514EC6

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

Color values

HEX#514EC6
RGBrgb(81, 78, 198)
HSLhsl(242, 51%, 54%)
HSVhsv(242, 61%, 78%)
CMYKcmyk(59.1%, 60.6%, 0%, 22.4%)
CIE-LABlab(40.04, 36.29, -62.40)
CIE-LCHlch(40.04, 72.19, 300.18°)
OKLaboklab(49.79% 0.0272 -0.1794)
OKLCHoklch(49.79% 0.181 278.6)
XYZxyz(16.3075, 11.2741, 54.7319)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EC6 #C3C64E
analogous
#4E87C6 #514EC6 #8D4EC6
triadic
#514EC6 #C6514E #4EC651
tetradic
#514EC6 #C64E87 #C3C64E #4EC68D
square
#514EC6 #C64E87 #C3C64E #4EC68D
split-complementary
#514EC6 #C68D4E #87C64E
monochromatic
#272574 #3734A2 #514EC6 #7F7CD5 #ACABE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514EC6#FFFFFF#000000##FFFFFF
##514EC61.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514ec6;
/* rgb */ color: rgb(81, 78, 198);
/* oklch */ color: oklch(49.8% 0.181 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d80d8',
    500: '#514ec6',
    950: '#000000',
  },
}
SCSS
$custom: #514ec6;
$custom-light: #8d80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#514ec6",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 241.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.18144,
    "h": 278.6
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#514EC6
secondary
#D0D19E
accent
#DB4DD7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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