#514CC9#514CC9

#514CC9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.188 H 278.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#514CC9
RGBrgb(81, 76, 201)
HSLhsl(242, 54%, 54%)
HSVhsv(242, 62%, 79%)
CMYKcmyk(59.7%, 62.2%, 0%, 21.2%)
CIE-LABlab(39.81, 38.48, -64.52)
CIE-LCHlch(39.81, 75.13, 300.81°)
OKLaboklab(49.7% 0.0289 -0.1856)
OKLCHoklch(49.7% 0.188 278.8)
XYZxyz(16.5170, 11.1341, 56.5257)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CC9 #C4C94C
analogous
#4C86C9 #514CC9 #904CC9
triadic
#514CC9 #C9514C #4CC951
tetradic
#514CC9 #C94C86 #C4C94C #4CC990
square
#514CC9 #C94C86 #C4C94C #4CC990
split-complementary
#514CC9 #C9904C #86C94C
monochromatic
#272477 #3732A6 #514CC9 #7F7BD7 #ACAAE5

Accessibility & contrast

On white

6.51
#514CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#514CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CC9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CC9#FFFFFF#000000##FFFFFF
##514CC91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514cc9;
/* rgb */ color: rgb(81, 76, 201);
/* oklch */ color: oklch(49.7% 0.188 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e7eda',
    500: '#514cc9',
    950: '#000000',
  },
}
SCSS
$custom: #514cc9;
$custom-light: #8e7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#514cc9",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 242.4,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.18786,
    "h": 278.8
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#514CC9
secondary
#D1D39E
accent
#DD4BD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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