#514DD9#514DD9

#514DD9 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.207 H 277.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#514DD9
RGBrgb(81, 77, 217)
HSLhsl(242, 65%, 58%)
HSVhsv(242, 65%, 85%)
CMYKcmyk(62.7%, 64.5%, 0%, 14.9%)
CIE-LABlab(41.32, 43.05, -71.27)
CIE-LCHlch(41.32, 83.26, 301.13°)
OKLaboklab(51.2% 0.0268 -0.2054)
OKLCHoklch(51.2% 0.207 277.4)
XYZxyz(18.5676, 12.0653, 66.9826)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DD9 #D5D94D
analogous
#4D8FD9 #514DD9 #974DD9
triadic
#514DD9 #D9514D #4DD951
tetradic
#514DD9 #D94D8F #D5D94D #4DD997
square
#514DD9 #D94D8F #D5D94D #4DD997
split-complementary
#514DD9 #D9974D #8FD94D
monochromatic
#211E8D #2D29C0 #514DD9 #827FE4 #B4B2EF

Accessibility & contrast

On white

6.15
#514DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#514DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DD9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DD9#FFFFFF#000000##FFFFFF
##514DD91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514dd9;
/* rgb */ color: rgb(81, 77, 217);
/* oklch */ color: oklch(51.2% 0.207 277.4);
Tailwind
colors: {
  custom: {
    50: '#907fe6',
    500: '#514dd9',
    950: '#000000',
  },
}
SCSS
$custom: #514dd9;
$custom-light: #907fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#514dd9",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 241.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.512,
    "c": 0.20716,
    "h": 277.4
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#514DD9
secondary
#DBDDA5
accent
#E840E3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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