#514B7D#514B7D

#514B7D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.081 H 288.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#514B7D
RGBrgb(81, 75, 125)
HSLhsl(247, 25%, 39%)
HSVhsv(247, 40%, 49%)
CMYKcmyk(35.2%, 40%, 0%, 51%)
CIE-LABlab(34.52, 15.16, -27.50)
CIE-LCHlch(34.52, 31.40, 298.88°)
OKLaboklab(44.15% 0.0252 -0.077)
OKLCHoklch(44.15% 0.081 288.1)
XYZxyz(9.6101, 8.2619, 20.4864)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B7D #777D4B
analogous
#4B5E7D #514B7D #6A4B7D
triadic
#514B7D #7D514B #4B7D51
tetradic
#514B7D #7D4B5E #777D4B #4B7D6A
square
#514B7D #7D4B5E #777D4B #4B7D6A
split-complementary
#514B7D #7D6A4B #5E7D4B
monochromatic
#1F1D31 #383457 #514B7D #6B64A2 #8F8AB9

Accessibility & contrast

On white

7.92
#514B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B7D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B7D#FFFFFF#000000##FFFFFF
##514B7D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527F
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#46545E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #514b7d;
/* rgb */ color: rgb(81, 75, 125);
/* oklch */ color: oklch(44.1% 0.081 288.1);
Tailwind
colors: {
  custom: {
    50: '#837da3',
    500: '#514b7d',
    950: '#000000',
  },
}
SCSS
$custom: #514b7d;
$custom-light: #837da3;
$custom-dark: #000000;
JSON
{
  "hex": "#514b7d",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 247.2,
    "s": 25,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44145,
    "c": 0.08102,
    "h": 288.1
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#514B7D
secondary
#A0A57F
accent
#C166B6
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #514B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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