#514993#514993

#514993 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.1% C 0.117 H 285.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#514993
RGBrgb(81, 73, 147)
HSLhsl(246, 34%, 43%)
HSVhsv(246, 50%, 58%)
CMYKcmyk(44.9%, 50.3%, 0%, 42.4%)
CIE-LABlab(35.24, 23.09, -39.85)
CIE-LCHlch(35.24, 46.06, 300.08°)
OKLaboklab(45.1% 0.0316 -0.1131)
OKLCHoklch(45.1% 0.117 285.6)
XYZxyz(11.0408, 8.6206, 28.6803)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514993 #8B9349
analogous
#496693 #514993 #764993
triadic
#514993 #935149 #499351
tetradic
#514993 #934966 #8B9349 #499376
square
#514993 #934966 #8B9349 #499376
split-complementary
#514993 #937649 #669349
monochromatic
#242041 #3A356A #514993 #6E66B3 #958FC7

Accessibility & contrast

On white

7.71
#514993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#514993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514993
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514993#FFFFFF#000000##FFFFFF
##5149931.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#285191
Tritanopia (blue-blind)
#3D5867
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #514993;
/* rgb */ color: rgb(81, 73, 147);
/* oklch */ color: oklch(45.1% 0.117 285.6);
Tailwind
colors: {
  custom: {
    50: '#867cb3',
    500: '#514993',
    950: '#000000',
  },
}
SCSS
$custom: #514993;
$custom-light: #867cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#514993",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 147
  },
  "hsl": {
    "h": 246.486,
    "s": 33.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.11744,
    "h": 285.6
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#514993
secondary
#AEB385
accent
#CA5EBE
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #514993

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

Preview Lab → · Contrast checker → · Palette generator →

#514993 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva