#514DE5#514DE5

#514DE5 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.222 H 276.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#514DE5
RGBrgb(81, 77, 229)
HSLhsl(242, 75%, 60%)
HSVhsv(242, 66%, 90%)
CMYKcmyk(64.6%, 66.4%, 0%, 10.2%)
CIE-LABlab(42.33, 46.90, -76.46)
CIE-LCHlch(42.33, 89.70, 301.53°)
OKLaboklab(52.24% 0.0256 -0.2206)
OKLCHoklch(52.24% 0.222 276.6)
XYZxyz(20.1855, 12.7125, 75.5036)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DE5 #E1E54D
analogous
#4D95E5 #514DE5 #9D4DE5
triadic
#514DE5 #E5514D #4DE551
tetradic
#514DE5 #E54D95 #E1E54D #4DE59D
square
#514DE5 #E54D95 #E1E54D #4DE59D
split-complementary
#514DE5 #E59D4D #95E54D
monochromatic
#1B17A0 #241FD6 #514DE5 #8582ED #B9B8F5

Accessibility & contrast

On white

5.93
#514DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#514DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DE5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DE5#FFFFFF#000000##FFFFFF
##514DE51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514de5;
/* rgb */ color: rgb(81, 77, 229);
/* oklch */ color: oklch(52.2% 0.222 276.6);
Tailwind
colors: {
  custom: {
    50: '#9380ee',
    500: '#514de5',
    950: '#000000',
  },
}
SCSS
$custom: #514de5;
$custom-light: #9380ee;
$custom-dark: #000000;
JSON
{
  "hex": "#514de5",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 241.579,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.22211,
    "h": 276.6
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#514DE5
secondary
#E3E4AA
accent
#F137EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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