#514EB0#514EB0

#514EB0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.152 H 280.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#514EB0
RGBrgb(81, 78, 176)
HSLhsl(242, 39%, 50%)
HSVhsv(242, 56%, 69%)
CMYKcmyk(54%, 55.7%, 0%, 31%)
CIE-LABlab(38.43, 29.14, -52.12)
CIE-LCHlch(38.43, 59.71, 299.21°)
OKLaboklab(48.1% 0.0274 -0.1491)
OKLCHoklch(48.1% 0.152 280.4)
XYZxyz(13.9518, 10.3318, 42.3250)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514EB0 #ADB04E
analogous
#4E7CB0 #514EB0 #824EB0
triadic
#514EB0 #B0514E #4EB051
tetradic
#514EB0 #B04E7C #ADB04E #4EB082
square
#514EB0 #B04E7C #ADB04E #4EB082
split-complementary
#514EB0 #B0824E #7CB04E
monochromatic
#2A285B #3D3B86 #514EB0 #7A78C3 #A4A2D6

Accessibility & contrast

On white

6.85
#514EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#514EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #514EB0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514EB0#FFFFFF#000000##FFFFFF
##514EB01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB3
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#276477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #514eb0;
/* rgb */ color: rgb(81, 78, 176);
/* oklch */ color: oklch(48.1% 0.152 280.4);
Tailwind
colors: {
  custom: {
    50: '#8a7fc8',
    500: '#514eb0',
    950: '#000000',
  },
}
SCSS
$custom: #514eb0;
$custom-light: #8a7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#514eb0",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 241.837,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.15162,
    "h": 280.4
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#514EB0
secondary
#C2C397
accent
#CF59CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #514EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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