#514B83#514B83

#514B83 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.090 H 287.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#514B83
RGBrgb(81, 75, 131)
HSLhsl(246, 27%, 40%)
HSVhsv(246, 43%, 51%)
CMYKcmyk(38.2%, 42.7%, 0%, 48.6%)
CIE-LABlab(34.84, 16.93, -30.70)
CIE-LCHlch(34.84, 35.06, 298.88°)
OKLaboklab(44.49% 0.0265 -0.0863)
OKLCHoklch(44.49% 0.09 287)
XYZxyz(10.0050, 8.4199, 22.5664)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B83 #7D834B
analogous
#4B6183 #514B83 #6D4B83
triadic
#514B83 #83514B #4B8351
tetradic
#514B83 #834B61 #7D834B #4B836D
square
#514B83 #834B61 #7D834B #4B836D
split-complementary
#514B83 #836D4B #61834B
monochromatic
#211E35 #39355C #514B83 #6C65A7 #918CBD

Accessibility & contrast

On white

7.82
#514B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#514B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B83
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B83#FFFFFF#000000##FFFFFF
##514B831.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#385082
Tritanopia (blue-blind)
#445660
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514b83;
/* rgb */ color: rgb(81, 75, 131);
/* oklch */ color: oklch(44.5% 0.090 287.0);
Tailwind
colors: {
  custom: {
    50: '#847da7',
    500: '#514b83',
    950: '#000000',
  },
}
SCSS
$custom: #514b83;
$custom-light: #847da7;
$custom-dark: #000000;
JSON
{
  "hex": "#514b83",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 131
  },
  "hsl": {
    "h": 246.429,
    "s": 27.184,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.09028,
    "h": 287
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#514B83
secondary
#A5A981
accent
#C464B9
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514B83

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

Preview Lab → · Contrast checker → · Palette generator →

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