#514985#514985

#514985 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.097 H 287.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#514985
RGBrgb(81, 73, 133)
HSLhsl(248, 29%, 40%)
HSVhsv(248, 45%, 52%)
CMYKcmyk(39.1%, 45.1%, 0%, 47.8%)
CIE-LABlab(34.41, 18.82, -32.61)
CIE-LCHlch(34.41, 37.65, 299.99°)
OKLaboklab(44.2% 0.0297 -0.0919)
OKLCHoklch(44.2% 0.097 287.9)
XYZxyz(10.0084, 8.2076, 23.2427)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514985 #7D8549
analogous
#495F85 #514985 #6F4985
triadic
#514985 #855149 #498551
tetradic
#514985 #85495F #7D8549 #49856F
square
#514985 #85495F #7D8549 #49856F
split-complementary
#514985 #856F49 #5F8549
monochromatic
#211E36 #39335D #514985 #6C62A9 #918ABF

Accessibility & contrast

On white

7.95
#514985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#514985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514985
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514985#FFFFFF#000000##FFFFFF
##5149851.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#344F84
Tritanopia (blue-blind)
#435560
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #514985;
/* rgb */ color: rgb(81, 73, 133);
/* oklch */ color: oklch(44.2% 0.097 287.9);
Tailwind
colors: {
  custom: {
    50: '#847ba9',
    500: '#514985',
    950: '#000000',
  },
}
SCSS
$custom: #514985;
$custom-light: #847ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#514985",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 248,
    "s": 29.126,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.09657,
    "h": 287.9
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#514985
secondary
#A5AB7F
accent
#C562B8
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514985

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

Preview Lab → · Contrast checker → · Palette generator →

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