#514DE2#514DE2

#514DE2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.218 H 276.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#514DE2
RGBrgb(81, 77, 226)
HSLhsl(242, 72%, 59%)
HSVhsv(242, 66%, 89%)
CMYKcmyk(64.2%, 65.9%, 0%, 11.4%)
CIE-LABlab(42.07, 45.94, -75.17)
CIE-LCHlch(42.07, 88.10, 301.43°)
OKLaboklab(51.98% 0.0259 -0.2169)
OKLCHoklch(51.98% 0.218 276.8)
XYZxyz(19.7702, 12.5464, 73.3166)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DE2 #DEE24D
analogous
#4D93E2 #514DE2 #9C4DE2
triadic
#514DE2 #E2514D #4DE251
tetradic
#514DE2 #E24D93 #DEE24D #4DE29C
square
#514DE2 #E24D93 #DEE24D #4DE29C
split-complementary
#514DE2 #E29C4D #93E24D
monochromatic
#1D199B #2722D0 #514DE2 #8482EB #B8B6F3

Accessibility & contrast

On white

5.98
#514DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#514DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DE2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DE2#FFFFFF#000000##FFFFFF
##514DE21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514de2;
/* rgb */ color: rgb(81, 77, 226);
/* oklch */ color: oklch(52.0% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#9280ec',
    500: '#514de2',
    950: '#000000',
  },
}
SCSS
$custom: #514de2;
$custom-light: #9280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#514de2",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 241.611,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.2184,
    "h": 276.8
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#514DE2
secondary
#E1E2A8
accent
#EF39EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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