#514992#514992

#514992 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.0% C 0.116 H 285.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#514992
RGBrgb(81, 73, 146)
HSLhsl(247, 33%, 43%)
HSVhsv(247, 50%, 57%)
CMYKcmyk(44.5%, 50%, 0%, 42.7%)
CIE-LABlab(35.18, 22.78, -39.35)
CIE-LCHlch(35.18, 45.46, 300.07°)
OKLaboklab(45.03% 0.0315 -0.1116)
OKLCHoklch(45.03% 0.116 285.7)
XYZxyz(10.9627, 8.5893, 28.2688)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514992 #8A9249
analogous
#496692 #514992 #754992
triadic
#514992 #925149 #499251
tetradic
#514992 #924966 #8A9249 #499275
square
#514992 #924966 #8A9249 #499275
split-complementary
#514992 #927549 #669249
monochromatic
#242040 #3A3569 #514992 #6E66B2 #958FC7

Accessibility & contrast

On white

7.73
#514992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514992
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514992#FFFFFF#000000##FFFFFF
##5149921.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#295190
Tritanopia (blue-blind)
#3D5866
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #514992;
/* rgb */ color: rgb(81, 73, 146);
/* oklch */ color: oklch(45.0% 0.116 285.7);
Tailwind
colors: {
  custom: {
    50: '#867cb2',
    500: '#514992',
    950: '#000000',
  },
}
SCSS
$custom: #514992;
$custom-light: #867cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#514992",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 146
  },
  "hsl": {
    "h": 246.575,
    "s": 33.333,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45033,
    "c": 0.11596,
    "h": 285.7
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#514992
secondary
#AEB384
accent
#C95EBE
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #514992

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

Preview Lab → · Contrast checker → · Palette generator →

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