#514ECA#514ECA

#514ECA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.187 H 278.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#514ECA
RGBrgb(81, 78, 202)
HSLhsl(241, 54%, 55%)
HSVhsv(241, 61%, 79%)
CMYKcmyk(59.9%, 61.4%, 0%, 20.8%)
CIE-LABlab(40.35, 37.59, -64.22)
CIE-LCHlch(40.35, 74.42, 300.34°)
OKLaboklab(50.12% 0.0271 -0.1847)
OKLCHoklch(50.12% 0.187 278.3)
XYZxyz(16.7750, 11.4611, 57.1939)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514ECA #C7CA4E
analogous
#4E89CA #514ECA #8F4ECA
triadic
#514ECA #CA514E #4ECA51
tetradic
#514ECA #CA4E89 #C7CA4E #4ECA8F
square
#514ECA #CA4E89 #C7CA4E #4ECA8F
split-complementary
#514ECA #CA8F4E #89CA4E
monochromatic
#262479 #3532A8 #514ECA #7F7DD8 #AEACE6

Accessibility & contrast

On white

6.38
#514ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#514ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514ECA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514ECA#FFFFFF#000000##FFFFFF
##514ECA1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #514eca;
/* rgb */ color: rgb(81, 78, 202);
/* oklch */ color: oklch(50.1% 0.187 278.3);
Tailwind
colors: {
  custom: {
    50: '#8e80db',
    500: '#514eca',
    950: '#000000',
  },
}
SCSS
$custom: #514eca;
$custom-light: #8e80db;
$custom-dark: #000000;
JSON
{
  "hex": "#514eca",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 241.452,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.18669,
    "h": 278.3
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#514ECA
secondary
#D3D4A0
accent
#DD4BDA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #514ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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