#514BC0#514BC0

#514BC0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.177 H 279.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#514BC0
RGBrgb(81, 75, 192)
HSLhsl(243, 48%, 52%)
HSVhsv(243, 61%, 75%)
CMYKcmyk(57.8%, 60.9%, 0%, 24.7%)
CIE-LABlab(38.87, 36.18, -60.80)
CIE-LCHlch(38.87, 70.75, 300.75°)
OKLaboklab(48.79% 0.0303 -0.1747)
OKLCHoklch(48.79% 0.177 279.8)
XYZxyz(15.4208, 10.5862, 51.0897)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC0 #BAC04B
analogous
#4B80C0 #514BC0 #8C4BC0
triadic
#514BC0 #C0514B #4BC051
tetradic
#514BC0 #C04B80 #BAC04B #4BC08C
square
#514BC0 #C04B80 #BAC04B #4BC08C
split-complementary
#514BC0 #C08C4B #80C04B
monochromatic
#29256B #3A3598 #514BC0 #7D78D0 #A9A6E0

Accessibility & contrast

On white

6.74
#514BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#514BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BC0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BC0#FFFFFF#000000##FFFFFF
##514BC01.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#0C677E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514bc0;
/* rgb */ color: rgb(81, 75, 192);
/* oklch */ color: oklch(48.8% 0.177 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c7ed4',
    500: '#514bc0',
    950: '#000000',
  },
}
SCSS
$custom: #514bc0;
$custom-light: #8c7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc0",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 243.077,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48793,
    "c": 0.1773,
    "h": 279.8
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#514BC0
secondary
#CACD9A
accent
#D850D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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