#514B85#514B85

#514B85 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.6% C 0.093 H 286.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#514B85
RGBrgb(81, 75, 133)
HSLhsl(246, 28%, 41%)
HSVhsv(246, 44%, 52%)
CMYKcmyk(39.1%, 43.6%, 0%, 47.8%)
CIE-LABlab(34.95, 17.53, -31.76)
CIE-LCHlch(34.95, 36.27, 298.90°)
OKLaboklab(44.61% 0.0268 -0.0894)
OKLCHoklch(44.61% 0.093 286.7)
XYZxyz(10.1419, 8.4746, 23.2872)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B85 #7F854B
analogous
#4B6285 #514B85 #6E4B85
triadic
#514B85 #85514B #4B8551
tetradic
#514B85 #854B62 #7F854B #4B856E
square
#514B85 #854B62 #7F854B #4B856E
split-complementary
#514B85 #856E4B #62854B
monochromatic
#211F37 #39355E #514B85 #6C65A8 #918CBE

Accessibility & contrast

On white

7.79
#514B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#514B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B85
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B85#FFFFFF#000000##FFFFFF
##514B851.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#435661
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #514b85;
/* rgb */ color: rgb(81, 75, 133);
/* oklch */ color: oklch(44.6% 0.093 286.7);
Tailwind
colors: {
  custom: {
    50: '#847da9',
    500: '#514b85',
    950: '#000000',
  },
}
SCSS
$custom: #514b85;
$custom-light: #847da9;
$custom-dark: #000000;
JSON
{
  "hex": "#514b85",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 133
  },
  "hsl": {
    "h": 246.207,
    "s": 27.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.09334,
    "h": 286.7
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#514B85
secondary
#A6AA81
accent
#C464BA
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #514B85

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

Preview Lab → · Contrast checker → · Palette generator →

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