#514DC5#514DC5

#514DC5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.5% C 0.181 H 278.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#514DC5
RGBrgb(81, 77, 197)
HSLhsl(242, 51%, 54%)
HSVhsv(242, 61%, 77%)
CMYKcmyk(58.9%, 60.9%, 0%, 22.7%)
CIE-LABlab(39.73, 36.58, -62.33)
CIE-LCHlch(39.73, 72.27, 300.40°)
OKLaboklab(49.54% 0.0282 -0.1792)
OKLCHoklch(49.54% 0.181 278.9)
XYZxyz(16.1221, 11.0872, 54.1030)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC5 #C1C54D
analogous
#4D85C5 #514DC5 #8D4DC5
triadic
#514DC5 #C5514D #4DC551
tetradic
#514DC5 #C54D85 #C1C54D #4DC58D
square
#514DC5 #C54D85 #C1C54D #4DC58D
split-complementary
#514DC5 #C58D4D #85C54D
monochromatic
#282572 #3834A0 #514DC5 #7E7BD4 #ABA9E3

Accessibility & contrast

On white

6.53
#514DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#514DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC5#FFFFFF#000000##FFFFFF
##514DC51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514dc5;
/* rgb */ color: rgb(81, 77, 197);
/* oklch */ color: oklch(49.5% 0.181 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d7fd7',
    500: '#514dc5',
    950: '#000000',
  },
}
SCSS
$custom: #514dc5;
$custom-light: #8d7fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc5",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 242,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.18138,
    "h": 278.9
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#514DC5
secondary
#CFD19D
accent
#DA4DD6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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