#514FDC#514FDC

#514FDC is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.209 H 276.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#514FDC
RGBrgb(81, 79, 220)
HSLhsl(241, 67%, 59%)
HSVhsv(241, 64%, 86%)
CMYKcmyk(63.2%, 64.1%, 0%, 13.7%)
CIE-LABlab(42.01, 42.84, -71.86)
CIE-LCHlch(42.01, 83.65, 300.80°)
OKLaboklab(51.78% 0.025 -0.2071)
OKLCHoklch(51.78% 0.209 276.9)
XYZxyz(19.1034, 12.5070, 69.1037)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FDC #DADC4F
analogous
#4F93DC #514FDC #974FDC
triadic
#514FDC #DC514F #4FDC51
tetradic
#514FDC #DC4F93 #DADC4F #4FDC97
square
#514FDC #DC4F93 #DADC4F #4FDC97
split-complementary
#514FDC #DC974F #93DC4F
monochromatic
#1F1D93 #2A27C6 #514FDC #8382E6 #B6B5F0

Accessibility & contrast

On white

6.00
#514FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#514FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FDC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FDC#FFFFFF#000000##FFFFFF
##514FDC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514fdc;
/* rgb */ color: rgb(81, 79, 220);
/* oklch */ color: oklch(51.8% 0.209 276.9);
Tailwind
colors: {
  custom: {
    50: '#9181e8',
    500: '#514fdc',
    950: '#000000',
  },
}
SCSS
$custom: #514fdc;
$custom-light: #9181e8;
$custom-dark: #000000;
JSON
{
  "hex": "#514fdc",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 240.851,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5178,
    "c": 0.20863,
    "h": 276.9
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#514FDC
secondary
#DEDFA8
accent
#EA3EE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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