#514AEB#514AEB

#514AEB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.233 H 276.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#514AEB
RGBrgb(81, 74, 235)
HSLhsl(243, 80%, 61%)
HSVhsv(243, 69%, 92%)
CMYKcmyk(65.5%, 68.5%, 0%, 7.8%)
CIE-LABlab(42.22, 50.52, -80.03)
CIE-LCHlch(42.22, 94.64, 302.26°)
OKLaboklab(52.32% 0.0268 -0.2311)
OKLCHoklch(52.32% 0.233 276.6)
XYZxyz(20.8326, 12.6432, 79.9237)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AEB #E4EB4A
analogous
#4A93EB #514AEB #A24AEB
triadic
#514AEB #EB514A #4AEB51
tetradic
#514AEB #EB4A93 #E4EB4A #4AEBA2
square
#514AEB #EB4A93 #E4EB4A #4AEBA2
split-complementary
#514AEB #EBA24A #93EB4A
monochromatic
#1913A8 #2119DF #514AEB #8681F1 #BBB8F7

Accessibility & contrast

On white

5.95
#514AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#514AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AEB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AEB#FFFFFF#000000##FFFFFF
##514AEB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#005DE8
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #514aeb;
/* rgb */ color: rgb(81, 74, 235);
/* oklch */ color: oklch(52.3% 0.233 276.6);
Tailwind
colors: {
  custom: {
    50: '#947ef3',
    500: '#514aeb',
    950: '#000000',
  },
}
SCSS
$custom: #514aeb;
$custom-light: #947ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#514aeb",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 242.609,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.23264,
    "h": 276.6
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#514AEB
secondary
#E4E7AA
accent
#DC09D3
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #514AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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