#514CC2#514CC2

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

Color values

HEX#514CC2
RGBrgb(81, 76, 194)
HSLhsl(243, 49%, 53%)
HSVhsv(243, 61%, 76%)
CMYKcmyk(58.2%, 60.8%, 0%, 23.9%)
CIE-LABlab(39.26, 36.21, -61.34)
CIE-LCHlch(39.26, 71.23, 300.56°)
OKLaboklab(49.13% 0.0293 -0.1763)
OKLCHoklch(49.13% 0.179 279.4)
XYZxyz(15.7123, 10.8122, 52.2875)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC2 #BDC24C
analogous
#4C82C2 #514CC2 #8C4CC2
triadic
#514CC2 #C2514C #4CC251
tetradic
#514CC2 #C24C82 #BDC24C #4CC28C
square
#514CC2 #C24C82 #BDC24C #4CC28C
split-complementary
#514CC2 #C28C4C #82C24C
monochromatic
#29266E #39359C #514CC2 #7D7AD2 #AAA7E1

Accessibility & contrast

On white

6.64
#514CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#514CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC2#FFFFFF#000000##FFFFFF
##514CC21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#046980
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #514cc2;
/* rgb */ color: rgb(81, 76, 194);
/* oklch */ color: oklch(49.1% 0.179 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ed5',
    500: '#514cc2',
    950: '#000000',
  },
}
SCSS
$custom: #514cc2;
$custom-light: #8d7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc2",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 242.542,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49126,
    "c": 0.17868,
    "h": 279.4
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#514CC2
secondary
#CCCE9B
accent
#D94FD3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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