#514BC4#514BC4

#514BC4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.183 H 279.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#514BC4
RGBrgb(81, 75, 196)
HSLhsl(243, 51%, 53%)
HSVhsv(243, 62%, 77%)
CMYKcmyk(58.7%, 61.7%, 0%, 23.1%)
CIE-LABlab(39.18, 37.47, -62.63)
CIE-LCHlch(39.18, 72.98, 300.89°)
OKLaboklab(49.12% 0.0301 -0.1801)
OKLCHoklch(49.12% 0.183 279.5)
XYZxyz(15.8701, 10.7659, 53.4556)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514BC4 #BEC44B
analogous
#4B81C4 #514BC4 #8D4BC4
triadic
#514BC4 #C4514B #4BC451
tetradic
#514BC4 #C44B81 #BEC44B #4BC48D
square
#514BC4 #C44B81 #BEC44B #4BC48D
split-complementary
#514BC4 #C48D4B #81C44B
monochromatic
#282570 #39349E #514BC4 #7E79D3 #AAA7E2

Accessibility & contrast

On white

6.66
#514BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#514BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514BC4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514BC4#FFFFFF#000000##FFFFFF
##514BC41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514bc4;
/* rgb */ color: rgb(81, 75, 196);
/* oklch */ color: oklch(49.1% 0.183 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d7ed7',
    500: '#514bc4',
    950: '#000000',
  },
}
SCSS
$custom: #514bc4;
$custom-light: #8d7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#514bc4",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 242.975,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.18257,
    "h": 279.5
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #514BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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