#514CD9#514CD9

#514CD9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.0% C 0.208 H 277.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#514CD9
RGBrgb(81, 76, 217)
HSLhsl(242, 65%, 57%)
HSVhsv(242, 65%, 85%)
CMYKcmyk(62.7%, 65%, 0%, 14.9%)
CIE-LABlab(41.10, 43.64, -71.63)
CIE-LCHlch(41.10, 83.88, 301.35°)
OKLaboklab(51.04% 0.0276 -0.2065)
OKLCHoklch(51.04% 0.208 277.6)
XYZxyz(18.4981, 11.9265, 66.9594)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CD9 #D4D94C
analogous
#4C8DD9 #514CD9 #984CD9
triadic
#514CD9 #D9514C #4CD951
tetradic
#514CD9 #D94C8D #D4D94C #4CD998
square
#514CD9 #D94C8D #D4D94C #4CD998
split-complementary
#514CD9 #D9984C #8DD94C
monochromatic
#221E8D #2E29BF #514CD9 #827EE4 #B3B1EE

Accessibility & contrast

On white

6.20
#514CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#514CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CD9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CD9#FFFFFF#000000##FFFFFF
##514CD91.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514cd9;
/* rgb */ color: rgb(81, 76, 217);
/* oklch */ color: oklch(51.0% 0.208 277.6);
Tailwind
colors: {
  custom: {
    50: '#917fe6',
    500: '#514cd9',
    950: '#000000',
  },
}
SCSS
$custom: #514cd9;
$custom-light: #917fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#514cd9",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 242.128,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.20832,
    "h": 277.6
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#514CD9
secondary
#DBDDA4
accent
#E840E2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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