#514CB8#514CB8

#514CB8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.165 H 280.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#514CB8
RGBrgb(81, 76, 184)
HSLhsl(243, 43%, 51%)
HSVhsv(243, 59%, 72%)
CMYKcmyk(56%, 58.7%, 0%, 27.8%)
CIE-LABlab(38.51, 32.97, -56.70)
CIE-LCHlch(38.51, 65.59, 300.18°)
OKLaboklab(48.34% 0.0296 -0.1626)
OKLCHoklch(48.34% 0.165 280.3)
XYZxyz(14.6268, 10.3780, 46.5705)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CB8 #B3B84C
analogous
#4C7DB8 #514CB8 #874CB8
triadic
#514CB8 #B8514C #4CB851
tetradic
#514CB8 #B84C7D #B3B84C #4CB887
square
#514CB8 #B84C7D #B3B84C #4CB887
split-complementary
#514CB8 #B8874C #7DB84C
monochromatic
#2A2763 #3C388E #514CB8 #7C78C9 #A6A4DB

Accessibility & contrast

On white

6.83
#514CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#514CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CB8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CB8#FFFFFF#000000##FFFFFF
##514CB81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#1D667A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #514cb8;
/* rgb */ color: rgb(81, 76, 184);
/* oklch */ color: oklch(48.3% 0.165 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b7ece',
    500: '#514cb8',
    950: '#000000',
  },
}
SCSS
$custom: #514cb8;
$custom-light: #8b7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#514cb8",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 242.778,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.16529,
    "h": 280.3
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#514CB8
secondary
#C6C898
accent
#D355CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #514CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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