#514DC0#514DC0

#514DC0 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.175 H 279.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#514DC0
RGBrgb(81, 77, 192)
HSLhsl(242, 48%, 53%)
HSVhsv(242, 60%, 75%)
CMYKcmyk(57.8%, 59.9%, 0%, 24.7%)
CIE-LABlab(39.35, 34.95, -60.03)
CIE-LCHlch(39.35, 69.47, 300.21°)
OKLaboklab(49.14% 0.0284 -0.1724)
OKLCHoklch(49.14% 0.175 279.4)
XYZxyz(15.5586, 10.8618, 51.1356)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DC0 #BCC04D
analogous
#4D82C0 #514DC0 #8A4DC0
triadic
#514DC0 #C0514D #4DC051
tetradic
#514DC0 #C04D82 #BCC04D #4DC08A
square
#514DC0 #C04D82 #BCC04D #4DC08A
split-complementary
#514DC0 #C08A4D #82C04D
monochromatic
#29266C #3A3699 #514DC0 #7D7AD0 #A9A7E0

Accessibility & contrast

On white

6.62
#514DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#514DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DC0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DC0#FFFFFF#000000##FFFFFF
##514DC01.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#0B697F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514dc0;
/* rgb */ color: rgb(81, 77, 192);
/* oklch */ color: oklch(49.1% 0.175 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c7fd4',
    500: '#514dc0',
    950: '#000000',
  },
}
SCSS
$custom: #514dc0;
$custom-light: #8c7fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#514dc0",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 242.087,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.17474,
    "h": 279.4
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#514DC0
secondary
#CCCD9B
accent
#D750D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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