#514DD3#514DD3

#514DD3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.7% C 0.200 H 277.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#514DD3
RGBrgb(81, 77, 211)
HSLhsl(242, 60%, 56%)
HSVhsv(242, 64%, 83%)
CMYKcmyk(61.6%, 63.5%, 0%, 17.3%)
CIE-LABlab(40.83, 41.11, -68.63)
CIE-LCHlch(40.83, 80.00, 300.93°)
OKLaboklab(50.69% 0.0273 -0.1977)
OKLCHoklch(50.69% 0.2 277.9)
XYZxyz(17.8013, 11.7589, 62.9470)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DD3 #CFD34D
analogous
#4D8CD3 #514DD3 #944DD3
triadic
#514DD3 #D3514D #4DD351
tetradic
#514DD3 #D34D8C #CFD34D #4DD394
square
#514DD3 #D34D8C #CFD34D #4DD394
split-complementary
#514DD3 #D3944D #8CD34D
monochromatic
#242185 #312DB6 #514DD3 #817EDF #B1AFEB

Accessibility & contrast

On white

6.26
#514DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#514DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DD3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DD3#FFFFFF#000000##FFFFFF
##514DD31.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514dd3;
/* rgb */ color: rgb(81, 77, 211);
/* oklch */ color: oklch(50.7% 0.200 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f7fe2',
    500: '#514dd3',
    950: '#000000',
  },
}
SCSS
$custom: #514dd3;
$custom-light: #8f7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#514dd3",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 241.791,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.19954,
    "h": 277.9
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#514DD3
secondary
#D8D9A2
accent
#E444DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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