#514CCD#514CCD

#514CCD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.193 H 278.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#514CCD
RGBrgb(81, 76, 205)
HSLhsl(242, 56%, 55%)
HSVhsv(242, 63%, 80%)
CMYKcmyk(60.5%, 62.9%, 0%, 19.6%)
CIE-LABlab(40.12, 39.77, -66.32)
CIE-LCHlch(40.12, 77.33, 300.95°)
OKLaboklab(50.03% 0.0286 -0.1909)
OKLCHoklch(50.03% 0.193 278.5)
XYZxyz(16.9937, 11.3247, 59.0362)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CCD #C8CD4C
analogous
#4C87CD #514CCD #924CCD
triadic
#514CCD #CD514C #4CCD51
tetradic
#514CCD #CD4C87 #C8CD4C #4CCD92
square
#514CCD #CD4C87 #C8CD4C #4CCD92
split-complementary
#514CCD #CD924C #87CD4C
monochromatic
#26237C #3530AC #514CCD #807CDA #AEACE8

Accessibility & contrast

On white

6.43
#514CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#514CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CCD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CCD#FFFFFF#000000##FFFFFF
##514CCD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514ccd;
/* rgb */ color: rgb(81, 76, 205);
/* oklch */ color: oklch(50.0% 0.193 278.5);
Tailwind
colors: {
  custom: {
    50: '#8e7edd',
    500: '#514ccd',
    950: '#000000',
  },
}
SCSS
$custom: #514ccd;
$custom-light: #8e7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#514ccd",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 242.326,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.19303,
    "h": 278.5
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#514CCD
secondary
#D3D59F
accent
#E048DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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