#514EBE#514EBE

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

Color values

HEX#514EBE
RGBrgb(81, 78, 190)
HSLhsl(242, 46%, 53%)
HSVhsv(242, 59%, 75%)
CMYKcmyk(57.4%, 58.9%, 0%, 25.5%)
CIE-LABlab(39.44, 33.69, -58.72)
CIE-LCHlch(39.44, 67.70, 299.84°)
OKLaboklab(49.16% 0.0275 -0.1685)
OKLCHoklch(49.16% 0.171 279.3)
XYZxyz(15.4091, 10.9148, 50.0000)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EBE #BBBE4E
analogous
#4E83BE #514EBE #894EBE
triadic
#514EBE #BE514E #4EBE51
tetradic
#514EBE #BE4E83 #BBBE4E #4EBE89
square
#514EBE #BE4E83 #BBBE4E #4EBE89
split-complementary
#514EBE #BE894E #83BE4E
monochromatic
#29276A #3A3897 #514EBE #7D7BCE #A9A8DF

Accessibility & contrast

On white

6.60
#514EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#514EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EBE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EBE#FFFFFF#000000##FFFFFF
##514EBE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#11697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514ebe;
/* rgb */ color: rgb(81, 78, 190);
/* oklch */ color: oklch(49.2% 0.171 279.3);
Tailwind
colors: {
  custom: {
    50: '#8c80d2',
    500: '#514ebe',
    950: '#000000',
  },
}
SCSS
$custom: #514ebe;
$custom-light: #8c80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#514ebe",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 241.607,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.17078,
    "h": 279.3
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#514EBE
secondary
#CBCC9C
accent
#D652D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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