#514DEA#514DEA

#514DEA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.228 H 276.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#514DEA
RGBrgb(81, 77, 234)
HSLhsl(242, 79%, 61%)
HSVhsv(242, 67%, 92%)
CMYKcmyk(65.4%, 67.1%, 0%, 8.2%)
CIE-LABlab(42.76, 48.50, -78.59)
CIE-LCHlch(42.76, 92.35, 301.68°)
OKLaboklab(52.68% 0.025 -0.2269)
OKLCHoklch(52.68% 0.228 276.3)
XYZxyz(20.8936, 12.9958, 79.2333)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DEA #E6EA4D
analogous
#4D97EA #514DEA #9F4DEA
triadic
#514DEA #EA514D #4DEA51
tetradic
#514DEA #EA4D97 #E6EA4D #4DEA9F
square
#514DEA #EA4D97 #E6EA4D #4DEA9F
split-complementary
#514DEA #EA9F4D #97EA4D
monochromatic
#1814A9 #1F1ADF #514DEA #8784F0 #BCBAF7

Accessibility & contrast

On white

5.83
#514DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#514DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DEA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DEA#FFFFFF#000000##FFFFFF
##514DEA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #514dea;
/* rgb */ color: rgb(81, 77, 234);
/* oklch */ color: oklch(52.7% 0.228 276.3);
Tailwind
colors: {
  custom: {
    50: '#9480f2',
    500: '#514dea',
    950: '#000000',
  },
}
SCSS
$custom: #514dea;
$custom-light: #9480f2;
$custom-dark: #000000;
JSON
{
  "hex": "#514dea",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 241.529,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.22823,
    "h": 276.3
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#514DEA
secondary
#E5E7AC
accent
#DB0AD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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