#514AA2#514AA2

#514AA2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.138 H 283.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#514AA2
RGBrgb(81, 74, 162)
HSLhsl(245, 37%, 46%)
HSVhsv(245, 54%, 64%)
CMYKcmyk(50%, 54.3%, 0%, 36.5%)
CIE-LABlab(36.47, 27.16, -46.94)
CIE-LCHlch(36.47, 54.23, 300.06°)
OKLaboklab(46.33% 0.0315 -0.1339)
OKLCHoklch(46.33% 0.138 283.2)
XYZxyz(12.3617, 9.2549, 35.3104)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514AA2 #9BA24A
analogous
#4A6FA2 #514AA2 #7D4AA2
triadic
#514AA2 #A2514A #4AA251
tetradic
#514AA2 #A24A6F #9BA24A #4AA27D
square
#514AA2 #A24A6F #9BA24A #4AA27D
split-complementary
#514AA2 #A27D4A #6FA24A
monochromatic
#27244E #3C3778 #514AA2 #736DBC #9B97CF

Accessibility & contrast

On white

7.37
#514AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#514AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514AA2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514AA2#FFFFFF#000000##FFFFFF
##514AA21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A5
Deuteranopia (green-blind)
#1453A0
Tritanopia (blue-blind)
#335D6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #514aa2;
/* rgb */ color: rgb(81, 74, 162);
/* oklch */ color: oklch(46.3% 0.138 283.2);
Tailwind
colors: {
  custom: {
    50: '#887cbe',
    500: '#514aa2',
    950: '#000000',
  },
}
SCSS
$custom: #514aa2;
$custom-light: #887cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#514aa2",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 244.773,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4633,
    "c": 0.13756,
    "h": 283.2
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#514AA2
secondary
#B8BC8C
accent
#CD5BC4
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #514AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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