#514FD1#514FD1

#514FD1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.195 H 277.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#514FD1
RGBrgb(81, 79, 209)
HSLhsl(241, 59%, 56%)
HSVhsv(241, 62%, 82%)
CMYKcmyk(61.2%, 62.2%, 0%, 18%)
CIE-LABlab(41.13, 39.26, -66.99)
CIE-LCHlch(41.13, 77.65, 300.37°)
OKLaboklab(50.86% 0.0258 -0.1929)
OKLCHoklch(50.86% 0.195 277.6)
XYZxyz(17.6942, 11.9434, 61.6821)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FD1 #CFD14F
analogous
#4F8ED1 #514FD1 #924FD1
triadic
#514FD1 #D1514F #4FD151
tetradic
#514FD1 #D14F8E #CFD14F #4FD192
square
#514FD1 #D14F8E #CFD14F #4FD192
split-complementary
#514FD1 #D1924F #8ED14F
monochromatic
#242283 #312FB4 #514FD1 #8180DE #B1B0EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514FD1#FFFFFF#000000##FFFFFF
##514FD11.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)
#0066D5
Deuteranopia (green-blind)
#005CCE
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514fd1;
/* rgb */ color: rgb(81, 79, 209);
/* oklch */ color: oklch(50.9% 0.195 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f81e0',
    500: '#514fd1',
    950: '#000000',
  },
}
SCSS
$custom: #514fd1;
$custom-light: #8f81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#514fd1",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 240.923,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.19458,
    "h": 277.6
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#514FD1
secondary
#D8D9A3
accent
#E246DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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