#514B9F#514B9F

#514B9F is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.132 H 283.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#514B9F
RGBrgb(81, 75, 159)
HSLhsl(244, 36%, 46%)
HSVhsv(244, 53%, 62%)
CMYKcmyk(49.1%, 52.8%, 0%, 37.6%)
CIE-LABlab(36.53, 25.58, -45.05)
CIE-LCHlch(36.53, 51.81, 299.59°)
OKLaboklab(46.31% 0.0301 -0.1284)
OKLCHoklch(46.31% 0.132 283.2)
XYZxyz(12.1656, 9.2841, 33.9451)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B9F #999F4B
analogous
#4B6F9F #514B9F #7B4B9F
triadic
#514B9F #9F514B #4B9F51
tetradic
#514B9F #9F4B6F #999F4B #4B9F7B
square
#514B9F #9F4B6F #999F4B #4B9F7B
split-complementary
#514B9F #9F7B4B #6F9F4B
monochromatic
#27244C #3C3775 #514B9F #736DBA #9B97CE

Accessibility & contrast

On white

7.35
#514B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#514B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B9F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B9F#FFFFFF#000000##FFFFFF
##514B9F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#355D6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #514b9f;
/* rgb */ color: rgb(81, 75, 159);
/* oklch */ color: oklch(46.3% 0.132 283.2);
Tailwind
colors: {
  custom: {
    50: '#877dbc',
    500: '#514b9f',
    950: '#000000',
  },
}
SCSS
$custom: #514b9f;
$custom-light: #877dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#514b9f",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 244.286,
    "s": 35.897,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.13184,
    "h": 283.2
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#514B9F
secondary
#B7BA8C
accent
#CC5CC4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #514B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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