#514AE4#514AE4

#514AE4 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.224 H 277.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#514AE4
RGBrgb(81, 74, 228)
HSLhsl(243, 74%, 59%)
HSVhsv(243, 68%, 89%)
CMYKcmyk(64.5%, 67.5%, 0%, 10.6%)
CIE-LABlab(41.61, 48.31, -77.08)
CIE-LCHlch(41.61, 90.96, 302.08°)
OKLaboklab(51.69% 0.0278 -0.2224)
OKLCHoklch(51.69% 0.224 277.1)
XYZxyz(19.8412, 12.2467, 74.7020)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AE4 #DDE44A
analogous
#4A90E4 #514AE4 #9E4AE4
triadic
#514AE4 #E4514A #4AE451
tetradic
#514AE4 #E44A90 #DDE44A #4AE49E
square
#514AE4 #E44A90 #DDE44A #4AE49E
split-complementary
#514AE4 #E49E4A #90E44A
monochromatic
#1D179C #271FD2 #514AE4 #847FEC #B7B5F4

Accessibility & contrast

On white

6.09
#514AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#514AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AE4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AE4#FFFFFF#000000##FFFFFF
##514AE41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #514ae4;
/* rgb */ color: rgb(81, 74, 228);
/* oklch */ color: oklch(51.7% 0.224 277.1);
Tailwind
colors: {
  custom: {
    50: '#937eee',
    500: '#514ae4',
    950: '#000000',
  },
}
SCSS
$custom: #514ae4;
$custom-light: #937eee;
$custom-dark: #000000;
JSON
{
  "hex": "#514ae4",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 242.727,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.22416,
    "h": 277.1
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#514AE4
secondary
#E0E3A7
accent
#F137E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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