#514B9B#514B9B

#514B9B is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.126 H 283.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#514B9B
RGBrgb(81, 75, 155)
HSLhsl(245, 35%, 45%)
HSVhsv(245, 52%, 61%)
CMYKcmyk(47.7%, 51.6%, 0%, 39.2%)
CIE-LABlab(36.27, 24.31, -43.06)
CIE-LCHlch(36.27, 49.45, 299.45°)
OKLaboklab(46.03% 0.0298 -0.1225)
OKLCHoklch(46.03% 0.126 283.7)
XYZxyz(11.8241, 9.1475, 32.1466)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B9B #959B4B
analogous
#4B6D9B #514B9B #794B9B
triadic
#514B9B #9B514B #4B9B51
tetradic
#514B9B #9B4B6D #959B4B #4B9B79
square
#514B9B #9B4B6D #959B4B #4B9B79
split-complementary
#514B9B #9B794B #6D9B4B
monochromatic
#262349 #3B3772 #514B9B #716CB8 #9995CC

Accessibility & contrast

On white

7.42
#514B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#514B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B9B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B9B#FFFFFF#000000##FFFFFF
##514B9B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#385C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #514b9b;
/* rgb */ color: rgb(81, 75, 155);
/* oklch */ color: oklch(46.0% 0.126 283.7);
Tailwind
colors: {
  custom: {
    50: '#877db9',
    500: '#514b9b',
    950: '#000000',
  },
}
SCSS
$custom: #514b9b;
$custom-light: #877db9;
$custom-dark: #000000;
JSON
{
  "hex": "#514b9b",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 244.5,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4603,
    "c": 0.12608,
    "h": 283.7
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#514B9B
secondary
#B4B88A
accent
#CB5DC3
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #514B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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