#514FD9#514FD9

#514FD9 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.205 H 277.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#514FD9
RGBrgb(81, 79, 217)
HSLhsl(241, 64%, 58%)
HSVhsv(241, 64%, 85%)
CMYKcmyk(62.7%, 63.6%, 0%, 14.9%)
CIE-LABlab(41.77, 41.86, -70.54)
CIE-LCHlch(41.77, 82.03, 300.69°)
OKLaboklab(51.53% 0.0252 -0.2033)
OKLCHoklch(51.53% 0.205 277.1)
XYZxyz(18.7096, 12.3495, 67.0299)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD9 #D7D94F
analogous
#4F92D9 #514FD9 #964FD9
triadic
#514FD9 #D9514F #4FD951
tetradic
#514FD9 #D94F92 #D7D94F #4FD996
square
#514FD9 #D94F92 #D7D94F #4FD996
split-complementary
#514FD9 #D9964F #92D94F
monochromatic
#201F8F #2C2AC1 #514FD9 #8381E4 #B5B4EF

Accessibility & contrast

On white

6.05
#514FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#514FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FD9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FD9#FFFFFF#000000##FFFFFF
##514FD91.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514fd9;
/* rgb */ color: rgb(81, 79, 217);
/* oklch */ color: oklch(51.5% 0.205 277.1);
Tailwind
colors: {
  custom: {
    50: '#9081e6',
    500: '#514fd9',
    950: '#000000',
  },
}
SCSS
$custom: #514fd9;
$custom-light: #9081e6;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd9",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 240.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.20483,
    "h": 277.1
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#514FD9
secondary
#DDDDA6
accent
#E740E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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