#514AE8#514AE8

#514AE8 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.229 H 276.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#514AE8
RGBrgb(81, 74, 232)
HSLhsl(243, 77%, 60%)
HSVhsv(243, 68%, 91%)
CMYKcmyk(65.1%, 68.1%, 0%, 9%)
CIE-LABlab(41.96, 49.57, -78.77)
CIE-LCHlch(41.96, 93.07, 302.18°)
OKLaboklab(52.05% 0.0273 -0.2274)
OKLCHoklch(52.05% 0.229 276.8)
XYZxyz(20.4029, 12.4713, 77.6603)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AE8 #E1E84A
analogous
#4A92E8 #514AE8 #A04AE8
triadic
#514AE8 #E8514A #4AE851
tetradic
#514AE8 #E84A92 #E1E84A #4AE8A0
square
#514AE8 #E84A92 #E1E84A #4AE8A0
split-complementary
#514AE8 #E8A04A #92E84A
monochromatic
#1B15A3 #241CD9 #514AE8 #8580EF #B9B7F6

Accessibility & contrast

On white

6.01
#514AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#514AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514AE8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AE8#FFFFFF#000000##FFFFFF
##514AE81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#005CE5
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #514ae8;
/* rgb */ color: rgb(81, 74, 232);
/* oklch */ color: oklch(52.1% 0.229 276.8);
Tailwind
colors: {
  custom: {
    50: '#937ef1',
    500: '#514ae8',
    950: '#000000',
  },
}
SCSS
$custom: #514ae8;
$custom-light: #937ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#514ae8",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 242.658,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.52053,
    "c": 0.22902,
    "h": 276.8
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#514AE8
secondary
#E3E5A8
accent
#F434EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #514AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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