#514AB3#514AB3

#514AB3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.161 H 281.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#514AB3
RGBrgb(81, 74, 179)
HSLhsl(244, 42%, 50%)
HSVhsv(244, 59%, 70%)
CMYKcmyk(54.7%, 58.7%, 0%, 29.8%)
CIE-LABlab(37.66, 32.60, -55.13)
CIE-LCHlch(37.66, 64.05, 300.60°)
OKLaboklab(47.6% 0.0317 -0.158)
OKLCHoklch(47.6% 0.161 281.4)
XYZxyz(13.9763, 9.9007, 43.8136)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AB3 #ACB34A
analogous
#4A78B3 #514AB3 #864AB3
triadic
#514AB3 #B3514A #4AB351
tetradic
#514AB3 #B34A78 #ACB34A #4AB386
square
#514AB3 #B34A78 #ACB34A #4AB386
split-complementary
#514AB3 #B3864A #78B34A
monochromatic
#2A265C #3D3888 #514AB3 #7A74C6 #A3A0D8

Accessibility & contrast

On white

7.05
#514AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#514AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514AB3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AB3#FFFFFF#000000##FFFFFF
##514AB31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#246377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #514ab3;
/* rgb */ color: rgb(81, 74, 179);
/* oklch */ color: oklch(47.6% 0.161 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a7dca',
    500: '#514ab3',
    950: '#000000',
  },
}
SCSS
$custom: #514ab3;
$custom-light: #8a7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#514ab3",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 244,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.16117,
    "h": 281.4
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#514AB3
secondary
#C1C494
accent
#D156C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #514AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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