#514CFC#514CFC

#514CFC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.2% C 0.251 H 275.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#514CFC
RGBrgb(81, 76, 252)
HSLhsl(242, 97%, 64%)
HSVhsv(242, 70%, 99%)
CMYKcmyk(67.9%, 69.8%, 0%, 1.2%)
CIE-LABlab(44.15, 54.73, -86.41)
CIE-LCHlch(44.15, 102.28, 302.35°)
OKLaboklab(54.17% 0.0231 -0.2497)
OKLCHoklch(54.17% 0.251 275.3)
XYZxyz(23.5427, 13.9443, 93.5274)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CFC #F7FC4C
analogous
#4C9FFC #514CFC #A94CFC
triadic
#514CFC #FC514C #4CFC51
tetradic
#514CFC #FC4C9F #F7FC4C #4CFCA9
square
#514CFC #FC4C9F #F7FC4C #4CFCA9
split-complementary
#514CFC #FCA94C #9FFC4C
monochromatic
#0903CA #1610FB #514CFC #8C88FD #C6C4FE

Accessibility & contrast

On white

5.54
#514CFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#514CFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CFC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CFC#FFFFFF#000000##FFFFFF
##514CFC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0060F9
Tritanopia (blue-blind)
#007D9F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #514cfc;
/* rgb */ color: rgb(81, 76, 252);
/* oklch */ color: oklch(54.2% 0.251 275.3);
Tailwind
colors: {
  custom: {
    50: '#9780ff',
    500: '#514cfc',
    950: '#000000',
  },
}
SCSS
$custom: #514cfc;
$custom-light: #9780ff;
$custom-dark: #000000;
JSON
{
  "hex": "#514cfc",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 252
  },
  "hsl": {
    "h": 241.705,
    "s": 96.703,
    "l": 64.314
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.25078,
    "h": 275.3
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#514CFC
secondary
#EFF0B3
accent
#E600DF
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #514CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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