#514CEA#514CEA

#514CEA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.229 H 276.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#514CEA
RGBrgb(81, 76, 234)
HSLhsl(242, 79%, 61%)
HSVhsv(242, 68%, 92%)
CMYKcmyk(65.4%, 67.5%, 0%, 8.2%)
CIE-LABlab(42.55, 49.07, -78.93)
CIE-LCHlch(42.55, 92.94, 301.87°)
OKLaboklab(52.53% 0.0256 -0.2279)
OKLCHoklch(52.53% 0.229 276.4)
XYZxyz(20.8242, 12.8569, 79.2102)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CEA #E5EA4C
analogous
#4C96EA #514CEA #A04CEA
triadic
#514CEA #EA514C #4CEA51
tetradic
#514CEA #EA4C96 #E5EA4C #4CEAA0
square
#514CEA #EA4C96 #E5EA4C #4CEAA0
split-complementary
#514CEA #EAA04C #96EA4C
monochromatic
#1814A8 #201ADF #514CEA #8683F0 #BBBAF7

Accessibility & contrast

On white

5.88
#514CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#514CEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514CEA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CEA#FFFFFF#000000##FFFFFF
##514CEA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514cea;
/* rgb */ color: rgb(81, 76, 234);
/* oklch */ color: oklch(52.5% 0.229 276.4);
Tailwind
colors: {
  custom: {
    50: '#947ff2',
    500: '#514cea',
    950: '#000000',
  },
}
SCSS
$custom: #514cea;
$custom-light: #947ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#514cea",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 234
  },
  "hsl": {
    "h": 241.899,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.22931,
    "h": 276.4
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#514CEA
secondary
#E5E7AB
accent
#DB0AD5
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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