#514B7C#514B7C

#514B7C is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.1% C 0.079 H 288.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#514B7C
RGBrgb(81, 75, 124)
HSLhsl(247, 25%, 39%)
HSVhsv(247, 40%, 49%)
CMYKcmyk(34.7%, 39.5%, 0%, 51.4%)
CIE-LABlab(34.47, 14.87, -26.96)
CIE-LCHlch(34.47, 30.79, 298.89°)
OKLaboklab(44.09% 0.025 -0.0754)
OKLCHoklch(44.09% 0.079 288.3)
XYZxyz(9.5465, 8.2365, 20.1517)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B7C #767C4B
analogous
#4B5E7C #514B7C #6A4B7C
triadic
#514B7C #7C514B #4B7C51
tetradic
#514B7C #7C4B5E #767C4B #4B7C6A
square
#514B7C #7C4B5E #767C4B #4B7C6A
split-complementary
#514B7C #7C6A4B #5E7C4B
monochromatic
#1F1D30 #383456 #514B7C #6B63A1 #8F89B8

Accessibility & contrast

On white

7.93
#514B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#514B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B7C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B7C#FFFFFF#000000##FFFFFF
##514B7C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527E
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#46545D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #514b7c;
/* rgb */ color: rgb(81, 75, 124);
/* oklch */ color: oklch(44.1% 0.079 288.3);
Tailwind
colors: {
  custom: {
    50: '#837da2',
    500: '#514b7c',
    950: '#000000',
  },
}
SCSS
$custom: #514b7c;
$custom-light: #837da2;
$custom-dark: #000000;
JSON
{
  "hex": "#514b7c",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 124
  },
  "hsl": {
    "h": 247.347,
    "s": 24.623,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.07946,
    "h": 288.3
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#514B7C
secondary
#A0A47F
accent
#C167B6
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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