#514883#514883

#514883 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.9% C 0.095 H 288.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#514883
RGBrgb(81, 72, 131)
HSLhsl(249, 29%, 40%)
HSVhsv(249, 45%, 51%)
CMYKcmyk(38.2%, 45%, 0%, 48.6%)
CIE-LABlab(34.03, 18.86, -31.98)
CIE-LCHlch(34.03, 37.13, 300.53°)
OKLaboklab(43.88% 0.0308 -0.0901)
OKLCHoklch(43.88% 0.095 288.9)
XYZxyz(9.8063, 8.0225, 22.5001)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514883 #7A8348
analogous
#485C83 #514883 #6F4883
triadic
#514883 #835148 #488351
tetradic
#514883 #83485C #7A8348 #48836F
square
#514883 #83485C #7A8348 #48836F
split-complementary
#514883 #836F48 #5C8348
monochromatic
#201D34 #39325C #514883 #6B60A8 #9088BE

Accessibility & contrast

On white

8.06
#514883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#514883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514883
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514883#FFFFFF#000000##FFFFFF
##5148831.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345185
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#44535F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #514883;
/* rgb */ color: rgb(81, 72, 131);
/* oklch */ color: oklch(43.9% 0.095 288.9);
Tailwind
colors: {
  custom: {
    50: '#847ba7',
    500: '#514883',
    950: '#000000',
  },
}
SCSS
$custom: #514883;
$custom-light: #847ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#514883",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 249.153,
    "s": 29.064,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43876,
    "c": 0.09518,
    "h": 288.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#514883
secondary
#A3A97E
accent
#C562B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514883

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

Preview Lab → · Contrast checker → · Palette generator →

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