#514DEF#514DEF

#514DEF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.1% C 0.234 H 276.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#514DEF
RGBrgb(81, 77, 239)
HSLhsl(241, 84%, 62%)
HSVhsv(241, 68%, 94%)
CMYKcmyk(66.1%, 67.8%, 0%, 6.3%)
CIE-LABlab(43.19, 50.09, -80.69)
CIE-LCHlch(43.19, 94.97, 301.83°)
OKLaboklab(53.13% 0.0243 -0.233)
OKLCHoklch(53.13% 0.234 276)
XYZxyz(21.6221, 13.2872, 83.0698)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DEF #EBEF4D
analogous
#4D9AEF #514DEF #A24DEF
triadic
#514DEF #EF514D #4DEF51
tetradic
#514DEF #EF4D9A #EBEF4D #4DEFA2
square
#514DEF #EF4D9A #EBEF4D #4DEFA2
split-complementary
#514DEF #EFA24D #9AEF4D
monochromatic
#1410B2 #1A15EA #514DEF #8885F4 #BFBDF9

Accessibility & contrast

On white

5.74
#514DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#514DEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DEF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DEF#FFFFFF#000000##FFFFFF
##514DEF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#005FEC
Tritanopia (blue-blind)
#007998
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #514def;
/* rgb */ color: rgb(81, 77, 239);
/* oklch */ color: oklch(53.1% 0.234 276.0);
Tailwind
colors: {
  custom: {
    50: '#9580f6',
    500: '#514def',
    950: '#000000',
  },
}
SCSS
$custom: #514def;
$custom-light: #9580f6;
$custom-dark: #000000;
JSON
{
  "hex": "#514def",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 241.481,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.23429,
    "h": 276
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#514DEF
secondary
#E8EAAE
accent
#E006DB
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #514DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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