#514CC4#514CC4

#514CC4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.3% C 0.181 H 279.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#514CC4
RGBrgb(81, 76, 196)
HSLhsl(243, 50%, 53%)
HSVhsv(243, 61%, 77%)
CMYKcmyk(58.7%, 61.2%, 0%, 23.1%)
CIE-LABlab(39.42, 36.86, -62.25)
CIE-LCHlch(39.42, 72.35, 300.63°)
OKLaboklab(49.29% 0.0292 -0.1789)
OKLCHoklch(49.29% 0.181 279.3)
XYZxyz(15.9384, 10.9026, 53.4784)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC4 #BFC44C
analogous
#4C83C4 #514CC4 #8D4CC4
triadic
#514CC4 #C4514C #4CC451
tetradic
#514CC4 #C44C83 #BFC44C #4CC48D
square
#514CC4 #C44C83 #BFC44C #4CC48D
split-complementary
#514CC4 #C48D4C #83C44C
monochromatic
#282571 #39349F #514CC4 #7E7AD3 #AAA8E2

Accessibility & contrast

On white

6.60
#514CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#514CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC4#FFFFFF#000000##FFFFFF
##514CC41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #514cc4;
/* rgb */ color: rgb(81, 76, 196);
/* oklch */ color: oklch(49.3% 0.181 279.3);
Tailwind
colors: {
  custom: {
    50: '#8d7ed7',
    500: '#514cc4',
    950: '#000000',
  },
}
SCSS
$custom: #514cc4;
$custom-light: #8d7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc4",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 242.5,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.18132,
    "h": 279.3
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#514CC4
secondary
#CED09C
accent
#DA4ED4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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