#514CA2#514CA2

#514CA2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.135 H 282.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#514CA2
RGBrgb(81, 76, 162)
HSLhsl(243, 36%, 47%)
HSVhsv(243, 53%, 64%)
CMYKcmyk(50%, 53.1%, 0%, 36.5%)
CIE-LABlab(36.98, 25.90, -46.12)
CIE-LCHlch(36.98, 52.90, 299.31°)
OKLaboklab(46.71% 0.0291 -0.1315)
OKLCHoklch(46.71% 0.135 282.5)
XYZxyz(12.4974, 9.5262, 35.3556)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514CA2 #9DA24C
analogous
#4C72A2 #514CA2 #7C4CA2
triadic
#514CA2 #A2514C #4CA251
tetradic
#514CA2 #A24C72 #9DA24C #4CA27C
square
#514CA2 #A24C72 #9DA24C #4CA27C
split-complementary
#514CA2 #A27C4C #72A24C
monochromatic
#27254F #3C3878 #514CA2 #7470BC #9C99CF

Accessibility & contrast

On white

7.23
#514CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#514CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514CA2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514CA2#FFFFFF#000000##FFFFFF
##514CA21.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#335F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #514ca2;
/* rgb */ color: rgb(81, 76, 162);
/* oklch */ color: oklch(46.7% 0.135 282.5);
Tailwind
colors: {
  custom: {
    50: '#887ebe',
    500: '#514ca2',
    950: '#000000',
  },
}
SCSS
$custom: #514ca2;
$custom-light: #887ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#514ca2",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 243.488,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.13469,
    "h": 282.5
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#514CA2
secondary
#B9BC8E
accent
#CC5CC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #514CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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