#514DCF#514DCF

#514DCF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.4% C 0.194 H 278.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#514DCF
RGBrgb(81, 77, 207)
HSLhsl(242, 58%, 56%)
HSVhsv(242, 63%, 81%)
CMYKcmyk(60.9%, 62.8%, 0%, 18.8%)
CIE-LABlab(40.51, 39.82, -66.85)
CIE-LCHlch(40.51, 77.81, 300.78°)
OKLaboklab(50.36% 0.0276 -0.1924)
OKLCHoklch(50.36% 0.194 278.2)
XYZxyz(17.3061, 11.5608, 60.3389)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DCF #CBCF4D
analogous
#4D8ACF #514DCF #924DCF
triadic
#514DCF #CF514D #4DCF51
tetradic
#514DCF #CF4D8A #CBCF4D #4DCF92
square
#514DCF #CF4D8A #CBCF4D #4DCF92
split-complementary
#514DCF #CF924D #8ACF4D
monochromatic
#25227F #332FAF #514DCF #807DDC #AFADE9

Accessibility & contrast

On white

6.34
#514DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#514DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DCF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DCF#FFFFFF#000000##FFFFFF
##514DCF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514dcf;
/* rgb */ color: rgb(81, 77, 207);
/* oklch */ color: oklch(50.4% 0.194 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f7fdf',
    500: '#514dcf',
    950: '#000000',
  },
}
SCSS
$custom: #514dcf;
$custom-light: #8f7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#514dcf",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 241.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.19441,
    "h": 278.2
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#514DCF
secondary
#D5D7A1
accent
#E147DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #514DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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