#514DD2#514DD2

#514DD2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.198 H 277.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#514DD2
RGBrgb(81, 77, 210)
HSLhsl(242, 60%, 56%)
HSVhsv(242, 63%, 82%)
CMYKcmyk(61.4%, 63.3%, 0%, 17.6%)
CIE-LABlab(40.75, 40.79, -68.18)
CIE-LCHlch(40.75, 79.45, 300.89°)
OKLaboklab(50.61% 0.0274 -0.1964)
OKLCHoklch(50.61% 0.198 277.9)
XYZxyz(17.6763, 11.7089, 62.2888)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DD2 #CED24D
analogous
#4D8CD2 #514DD2 #944DD2
triadic
#514DD2 #D2514D #4DD251
tetradic
#514DD2 #D24D8C #CED24D #4DD294
square
#514DD2 #D24D8C #CED24D #4DD294
split-complementary
#514DD2 #D2944D #8CD24D
monochromatic
#242183 #322EB4 #514DD2 #817EDE #B1AFEB

Accessibility & contrast

On white

6.28
#514DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #514DD2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DD2#FFFFFF#000000##FFFFFF
##514DD21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #514dd2;
/* rgb */ color: rgb(81, 77, 210);
/* oklch */ color: oklch(50.6% 0.198 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f7fe1',
    500: '#514dd2',
    950: '#000000',
  },
}
SCSS
$custom: #514dd2;
$custom-light: #8f7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#514dd2",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 241.805,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.19826,
    "h": 277.9
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#514DD2
secondary
#D7D9A2
accent
#E345DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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