#514EEB#514EEB

#514EEB is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.228 H 276.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#514EEB
RGBrgb(81, 78, 235)
HSLhsl(241, 80%, 61%)
HSVhsv(241, 67%, 92%)
CMYKcmyk(65.5%, 66.8%, 0%, 7.8%)
CIE-LABlab(43.05, 48.24, -78.66)
CIE-LCHlch(43.05, 92.28, 301.52°)
OKLaboklab(52.93% 0.0242 -0.2271)
OKLCHoklch(52.93% 0.228 276.1)
XYZxyz(21.1082, 13.1944, 80.0156)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EEB #E8EB4E
analogous
#4E9AEB #514EEB #9F4EEB
triadic
#514EEB #EB514E #4EEB51
tetradic
#514EEB #EB4E9A #E8EB4E #4EEB9F
square
#514EEB #EB4E9A #E8EB4E #4EEB9F
split-complementary
#514EEB #EB9F4E #9AEB4E
monochromatic
#1613AB #1D1AE2 #514EEB #8785F1 #BDBCF7

Accessibility & contrast

On white

5.77
#514EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#514EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EEB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EEB#FFFFFF#000000##FFFFFF
##514EEB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #514eeb;
/* rgb */ color: rgb(81, 78, 235);
/* oklch */ color: oklch(52.9% 0.228 276.1);
Tailwind
colors: {
  custom: {
    50: '#9480f3',
    500: '#514eeb',
    950: '#000000',
  },
}
SCSS
$custom: #514eeb;
$custom-light: #9480f3;
$custom-dark: #000000;
JSON
{
  "hex": "#514eeb",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 241.146,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.22836,
    "h": 276.1
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#514EEB
secondary
#E7E8AD
accent
#DC09D8
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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