#514BC3#514BC3

#514BC3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.181 H 279.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#514BC3
RGBrgb(81, 75, 195)
HSLhsl(243, 50%, 53%)
HSVhsv(243, 62%, 76%)
CMYKcmyk(58.5%, 61.5%, 0%, 23.5%)
CIE-LABlab(39.11, 37.15, -62.18)
CIE-LCHlch(39.11, 72.43, 300.86°)
OKLaboklab(49.04% 0.0302 -0.1787)
OKLCHoklch(49.04% 0.181 279.6)
XYZxyz(15.7566, 10.7205, 52.8581)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC3 #BDC34B
analogous
#4B81C3 #514BC3 #8D4BC3
triadic
#514BC3 #C3514B #4BC351
tetradic
#514BC3 #C34B81 #BDC34B #4BC38D
square
#514BC3 #C34B81 #BDC34B #4BC38D
split-complementary
#514BC3 #C38D4B #81C34B
monochromatic
#29256F #39349D #514BC3 #7D79D2 #AAA7E2

Accessibility & contrast

On white

6.68
#514BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#514BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BC3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BC3#FFFFFF#000000##FFFFFF
##514BC31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#016880
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514bc3;
/* rgb */ color: rgb(81, 75, 195);
/* oklch */ color: oklch(49.0% 0.181 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d7ed6',
    500: '#514bc3',
    950: '#000000',
  },
}
SCSS
$custom: #514bc3;
$custom-light: #8d7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc3",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 243,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49035,
    "c": 0.18126,
    "h": 279.6
  },
  "luminance": 0.10722
}

Semantic roles & 50–950 ramp

primary
#514BC3
secondary
#CCCF9B
accent
#DA4ED3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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