#514FC2#514FC2

#514FC2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.6% C 0.175 H 278.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#514FC2
RGBrgb(81, 79, 194)
HSLhsl(241, 49%, 54%)
HSVhsv(241, 59%, 76%)
CMYKcmyk(58.2%, 59.3%, 0%, 23.9%)
CIE-LABlab(39.97, 34.37, -60.18)
CIE-LCHlch(39.97, 69.31, 299.73°)
OKLaboklab(49.65% 0.0264 -0.1728)
OKLCHoklch(49.65% 0.175 278.7)
XYZxyz(15.9238, 11.2352, 52.3580)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FC2 #C0C24F
analogous
#4F86C2 #514FC2 #8A4FC2
triadic
#514FC2 #C2514F #4FC251
tetradic
#514FC2 #C24F86 #C0C24F #4FC28A
square
#514FC2 #C24F86 #C0C24F #4FC28A
split-complementary
#514FC2 #C28A4F #86C24F
monochromatic
#282770 #38379D #514FC2 #7E7CD2 #ABAAE2

Accessibility & contrast

On white

6.47
#514FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#514FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FC2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FC2#FFFFFF#000000##FFFFFF
##514FC21.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#036B81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #514fc2;
/* rgb */ color: rgb(81, 79, 194);
/* oklch */ color: oklch(49.6% 0.175 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c80d5',
    500: '#514fc2',
    950: '#000000',
  },
}
SCSS
$custom: #514fc2;
$custom-light: #8c80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#514fc2",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 241.043,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4965,
    "c": 0.17485,
    "h": 278.7
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#514FC2
secondary
#CECF9E
accent
#D850D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #514FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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