#514EDB#514EDB

#514EDB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.5% C 0.209 H 277.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#514EDB
RGBrgb(81, 78, 219)
HSLhsl(241, 66%, 58%)
HSVhsv(241, 64%, 86%)
CMYKcmyk(63%, 64.4%, 0%, 14.1%)
CIE-LABlab(41.71, 43.11, -71.78)
CIE-LCHlch(41.71, 83.73, 300.98°)
OKLaboklab(51.53% 0.0258 -0.2069)
OKLCHoklch(51.53% 0.209 277.1)
XYZxyz(18.8998, 12.3110, 68.3844)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EDB #D8DB4E
analogous
#4E91DB #514EDB #984EDB
triadic
#514EDB #DB514E #4EDB51
tetradic
#514EDB #DB4E91 #D8DB4E #4EDB98
square
#514EDB #DB4E91 #D8DB4E #4EDB98
split-complementary
#514EDB #DB984E #91DB4E
monochromatic
#201E91 #2B28C4 #514EDB #8381E5 #B5B4F0

Accessibility & contrast

On white

6.06
#514EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#514EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EDB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EDB#FFFFFF#000000##FFFFFF
##514EDB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514edb;
/* rgb */ color: rgb(81, 78, 219);
/* oklch */ color: oklch(51.5% 0.209 277.1);
Tailwind
colors: {
  custom: {
    50: '#9180e7',
    500: '#514edb',
    950: '#000000',
  },
}
SCSS
$custom: #514edb;
$custom-light: #9180e7;
$custom-dark: #000000;
JSON
{
  "hex": "#514edb",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 241.277,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51532,
    "c": 0.20853,
    "h": 277.1
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#514EDB
secondary
#DDDEA6
accent
#E93FE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #514EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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