#514DEB#514DEB

#514DEB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.229 H 276.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#514DEB
RGBrgb(81, 77, 235)
HSLhsl(242, 80%, 61%)
HSVhsv(242, 67%, 92%)
CMYKcmyk(65.5%, 67.2%, 0%, 7.8%)
CIE-LABlab(42.84, 48.82, -79.01)
CIE-LCHlch(42.84, 92.87, 301.71°)
OKLaboklab(52.77% 0.0248 -0.2281)
OKLCHoklch(52.77% 0.229 276.2)
XYZxyz(21.0377, 13.0534, 79.9921)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514DEB #E7EB4D
analogous
#4D98EB #514DEB #A04DEB
triadic
#514DEB #EB514D #4DEB51
tetradic
#514DEB #EB4D98 #E7EB4D #4DEBA0
square
#514DEB #EB4D98 #E7EB4D #4DEBA0
split-complementary
#514DEB #EBA04D #98EB4D
monochromatic
#1713AA #1E19E1 #514DEB #8784F1 #BDBBF7

Accessibility & contrast

On white

5.82
#514DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#514DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514DEB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514DEB#FFFFFF#000000##FFFFFF
##514DEB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#005EE8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #514deb;
/* rgb */ color: rgb(81, 77, 235);
/* oklch */ color: oklch(52.8% 0.229 276.2);
Tailwind
colors: {
  custom: {
    50: '#9480f3',
    500: '#514deb',
    950: '#000000',
  },
}
SCSS
$custom: #514deb;
$custom-light: #9480f3;
$custom-dark: #000000;
JSON
{
  "hex": "#514deb",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 241.519,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.22944,
    "h": 276.2
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#514DEB
secondary
#E6E8AC
accent
#DC09D7
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #514DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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