#4A519C#4A519C

#4A519C is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.120 H 276.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4A519C
RGBrgb(74, 81, 156)
HSLhsl(235, 36%, 45%)
HSVhsv(235, 53%, 61%)
CMYKcmyk(52.6%, 48.1%, 0%, 38.8%)
CIE-LABlab(37.37, 19.13, -41.92)
CIE-LCHlch(37.37, 46.08, 294.53°)
OKLaboklab(46.75% 0.014 -0.1193)
OKLCHoklch(46.75% 0.12 276.7)
XYZxyz(11.7653, 9.7403, 32.7061)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A519C #9C954A
analogous
#4A7A9C #4A519C #6C4A9C
triadic
#4A519C #9C4A51 #519C4A
tetradic
#4A519C #9C4A7A #9C954A #4A9C6C
square
#4A519C #9C4A7A #9C954A #4A9C6C
split-complementary
#4A519C #9C6C4A #7A9C4A
monochromatic
#232649 #363B72 #4A519C #6B71B9 #9499CC

Accessibility & contrast

On white

7.12
#4A519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4A519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A519C
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A519C#FFFFFF#000000##FFFFFF
##4A519C1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#27559A
Tritanopia (blue-blind)
#27616F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a519c;
/* rgb */ color: rgb(74, 81, 156);
/* oklch */ color: oklch(46.7% 0.120 276.7);
Tailwind
colors: {
  custom: {
    50: '#8281ba',
    500: '#4a519c',
    950: '#000000',
  },
}
SCSS
$custom: #4a519c;
$custom-light: #8281ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a519c",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 234.878,
    "s": 35.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.12013,
    "h": 276.7
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#4A519C
secondary
#B8B489
accent
#C25CCC
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4A519C

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

Preview Lab → · Contrast checker → · Palette generator →

#4A519C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva