#514EBD#514EBD

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

Color values

HEX#514EBD
RGBrgb(81, 78, 189)
HSLhsl(242, 46%, 52%)
HSVhsv(242, 59%, 74%)
CMYKcmyk(57.1%, 58.7%, 0%, 25.9%)
CIE-LABlab(39.36, 33.36, -58.26)
CIE-LCHlch(39.36, 67.13, 299.80°)
OKLaboklab(49.08% 0.0275 -0.1672)
OKLCHoklch(49.08% 0.169 279.3)
XYZxyz(15.3001, 10.8712, 49.4264)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EBD #BABD4E
analogous
#4E82BD #514EBD #894EBD
triadic
#514EBD #BD514E #4EBD51
tetradic
#514EBD #BD4E82 #BABD4E #4EBD89
square
#514EBD #BD4E82 #BABD4E #4EBD89
split-complementary
#514EBD #BD894E #82BD4E
monochromatic
#292769 #3A3896 #514EBD #7D7BCE #A9A7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514EBD#FFFFFF#000000##FFFFFF
##514EBD1.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)
#0061C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#13687E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514ebd;
/* rgb */ color: rgb(81, 78, 189);
/* oklch */ color: oklch(49.1% 0.169 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c80d2',
    500: '#514ebd',
    950: '#000000',
  },
}
SCSS
$custom: #514ebd;
$custom-light: #8c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#514ebd",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 241.622,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.16943,
    "h": 279.3
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#514EBD
secondary
#CACC9B
accent
#D552D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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