#514CD0#514CD0

#514CD0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.3% C 0.197 H 278.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#514CD0
RGBrgb(81, 76, 208)
HSLhsl(242, 58%, 56%)
HSVhsv(242, 63%, 82%)
CMYKcmyk(61.1%, 63.5%, 0%, 18.4%)
CIE-LABlab(40.36, 40.74, -67.66)
CIE-LCHlch(40.36, 78.98, 301.05°)
OKLaboklab(50.28% 0.0284 -0.1948)
OKLCHoklch(50.28% 0.197 278.3)
XYZxyz(17.3593, 11.4710, 60.9616)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD0 #CBD04C
analogous
#4C89D0 #514CD0 #934CD0
triadic
#514CD0 #D0514C #4CD051
tetradic
#514CD0 #D04C89 #CBD04C #4CD093
square
#514CD0 #D04C89 #CBD04C #4CD093
split-complementary
#514CD0 #D0934C #89D04C
monochromatic
#252280 #332EB0 #514CD0 #807CDD #AFADE9

Accessibility & contrast

On white

6.37
#514CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#514CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD0#FFFFFF#000000##FFFFFF
##514CD01.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514cd0;
/* rgb */ color: rgb(81, 76, 208);
/* oklch */ color: oklch(50.3% 0.197 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f7edf',
    500: '#514cd0',
    950: '#000000',
  },
}
SCSS
$custom: #514cd0;
$custom-light: #8f7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd0",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 242.273,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.1969,
    "h": 278.3
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#514CD0
secondary
#D5D7A0
accent
#E246DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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