#514FCC#514FCC

#514FCC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.188 H 278.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#514FCC
RGBrgb(81, 79, 204)
HSLhsl(241, 55%, 55%)
HSVhsv(241, 61%, 80%)
CMYKcmyk(60.3%, 61.3%, 0%, 20%)
CIE-LABlab(40.73, 37.64, -64.75)
CIE-LCHlch(40.73, 74.89, 300.17°)
OKLaboklab(50.45% 0.0261 -0.1863)
OKLCHoklch(50.45% 0.188 278)
XYZxyz(17.0849, 11.6996, 58.4730)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FCC #CACC4F
analogous
#4F8BCC #514FCC #8F4FCC
triadic
#514FCC #CC514F #4FCC51
tetradic
#514FCC #CC4F8B #CACC4F #4FCC8F
square
#514FCC #CC4F8B #CACC4F #4FCC8F
split-complementary
#514FCC #CC8F4F #8BCC4F
monochromatic
#25247D #3432AC #514FCC #807EDA #AFAEE7

Accessibility & contrast

On white

6.29
#514FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#514FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FCC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FCC#FFFFFF#000000##FFFFFF
##514FCC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514fcc;
/* rgb */ color: rgb(81, 79, 204);
/* oklch */ color: oklch(50.4% 0.188 278.0);
Tailwind
colors: {
  custom: {
    50: '#8e80dc',
    500: '#514fcc',
    950: '#000000',
  },
}
SCSS
$custom: #514fcc;
$custom-light: #8e80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#514fcc",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 240.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.18807,
    "h": 278
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#514FCC
secondary
#D5D5A1
accent
#DE49DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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