#514DC2#514DC2

#514DC2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.177 H 279.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#514DC2
RGBrgb(81, 77, 194)
HSLhsl(242, 49%, 53%)
HSVhsv(242, 60%, 76%)
CMYKcmyk(58.2%, 60.3%, 0%, 23.9%)
CIE-LABlab(39.50, 35.60, -60.96)
CIE-LCHlch(39.50, 70.59, 300.29°)
OKLaboklab(49.3% 0.0283 -0.1751)
OKLCHoklch(49.3% 0.177 279.2)
XYZxyz(15.7817, 10.9510, 52.3106)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC2 #BEC24D
analogous
#4D83C2 #514DC2 #8B4DC2
triadic
#514DC2 #C2514D #4DC251
tetradic
#514DC2 #C24D83 #BEC24D #4DC28B
square
#514DC2 #C24D83 #BEC24D #4DC28B
split-complementary
#514DC2 #C28B4D #83C24D
monochromatic
#28266F #39369C #514DC2 #7E7BD2 #AAA8E1

Accessibility & contrast

On white

6.58
#514DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#514DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC2#FFFFFF#000000##FFFFFF
##514DC21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#046980
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514dc2;
/* rgb */ color: rgb(81, 77, 194);
/* oklch */ color: oklch(49.3% 0.177 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c7fd5',
    500: '#514dc2',
    950: '#000000',
  },
}
SCSS
$custom: #514dc2;
$custom-light: #8c7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc2",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 242.051,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49299,
    "c": 0.17741,
    "h": 279.2
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#514DC2
secondary
#CDCF9C
accent
#D94FD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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