#514FCF#514FCF

#514FCF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.7% C 0.192 H 277.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#514FCF
RGBrgb(81, 79, 207)
HSLhsl(241, 57%, 56%)
HSVhsv(241, 62%, 81%)
CMYKcmyk(60.9%, 61.8%, 0%, 18.8%)
CIE-LABlab(40.97, 38.61, -66.10)
CIE-LCHlch(40.97, 76.55, 300.29°)
OKLaboklab(50.69% 0.0259 -0.1902)
OKLCHoklch(50.69% 0.192 277.8)
XYZxyz(17.4482, 11.8450, 60.3862)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514FCF #CDCF4F
analogous
#4F8DCF #514FCF #914FCF
triadic
#514FCF #CF514F #4FCF51
tetradic
#514FCF #CF4F8D #CDCF4F #4FCF91
square
#514FCF #CF4F8D #CDCF4F #4FCF91
split-complementary
#514FCF #CF914F #8DCF4F
monochromatic
#252381 #3230B1 #514FCF #817FDC #B0AFE9

Accessibility & contrast

On white

6.23
#514FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#514FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514FCF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514FCF#FFFFFF#000000##FFFFFF
##514FCF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #514fcf;
/* rgb */ color: rgb(81, 79, 207);
/* oklch */ color: oklch(50.7% 0.192 277.8);
Tailwind
colors: {
  custom: {
    50: '#8f81df',
    500: '#514fcf',
    950: '#000000',
  },
}
SCSS
$custom: #514fcf;
$custom-light: #8f81df;
$custom-dark: #000000;
JSON
{
  "hex": "#514fcf",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 240.938,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.19199,
    "h": 277.8
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#514FCF
secondary
#D7D7A2
accent
#E047DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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