#514DCC#514DCC

#514DCC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.191 H 278.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#514DCC
RGBrgb(81, 77, 204)
HSLhsl(242, 55%, 55%)
HSVhsv(242, 62%, 80%)
CMYKcmyk(60.3%, 62.3%, 0%, 20%)
CIE-LABlab(40.27, 38.85, -65.50)
CIE-LCHlch(40.27, 76.15, 300.67°)
OKLaboklab(50.11% 0.0278 -0.1885)
OKLCHoklch(50.11% 0.191 278.4)
XYZxyz(16.9428, 11.4155, 58.4256)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DCC #C8CC4D
analogous
#4D88CC #514DCC #914DCC
triadic
#514DCC #CC514D #4DCC51
tetradic
#514DCC #CC4D88 #C8CC4D #4DCC91
square
#514DCC #CC4D88 #C8CC4D #4DCC91
split-complementary
#514DCC #CC914D #88CC4D
monochromatic
#26237B #3531AB #514DCC #807DDA #AEACE7

Accessibility & contrast

On white

6.40
#514DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#514DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DCC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DCC#FFFFFF#000000##FFFFFF
##514DCC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514dcc;
/* rgb */ color: rgb(81, 77, 204);
/* oklch */ color: oklch(50.1% 0.191 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e7fdc',
    500: '#514dcc',
    950: '#000000',
  },
}
SCSS
$custom: #514dcc;
$custom-light: #8e7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#514dcc",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 241.89,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.19053,
    "h": 278.4
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#514DCC
secondary
#D3D5A0
accent
#DF49DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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