#514DB9#514DB9

#514DB9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.165 H 279.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#514DB9
RGBrgb(81, 77, 185)
HSLhsl(242, 44%, 51%)
HSVhsv(242, 58%, 73%)
CMYKcmyk(56.2%, 58.4%, 0%, 27.5%)
CIE-LABlab(38.83, 32.68, -56.78)
CIE-LCHlch(38.83, 65.51, 299.92°)
OKLaboklab(48.59% 0.0286 -0.1628)
OKLCHoklch(48.59% 0.165 279.9)
XYZxyz(14.8014, 10.5589, 47.1476)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DB9 #B5B94D
analogous
#4D7FB9 #514DB9 #874DB9
triadic
#514DB9 #B9514D #4DB951
tetradic
#514DB9 #B94D7F #B5B94D #4DB987
square
#514DB9 #B94D7F #B5B94D #4DB987
split-complementary
#514DB9 #B9874D #7FB94D
monochromatic
#2A2764 #3C3990 #514DB9 #7C79CA #A7A5DC

Accessibility & contrast

On white

6.75
#514DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#514DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DB9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DB9#FFFFFF#000000##FFFFFF
##514DB91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#1B667B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514db9;
/* rgb */ color: rgb(81, 77, 185);
/* oklch */ color: oklch(48.6% 0.165 279.9);
Tailwind
colors: {
  custom: {
    50: '#8b7fcf',
    500: '#514db9',
    950: '#000000',
  },
}
SCSS
$custom: #514db9;
$custom-light: #8b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#514db9",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 242.222,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.16532,
    "h": 279.9
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#514DB9
secondary
#C7C999
accent
#D355CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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