#4A519D#4A519D

#4A519D is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.122 H 276.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4A519D
RGBrgb(74, 81, 157)
HSLhsl(235, 36%, 45%)
HSVhsv(235, 53%, 62%)
CMYKcmyk(52.9%, 48.4%, 0%, 38.4%)
CIE-LABlab(37.43, 19.47, -42.42)
CIE-LCHlch(37.43, 46.68, 294.65°)
OKLaboklab(46.81% 0.0141 -0.1208)
OKLCHoklch(46.81% 0.122 276.7)
XYZxyz(11.8504, 9.7743, 33.1539)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A519D #9D964A
analogous
#4A7A9D #4A519D #6D4A9D
triadic
#4A519D #9D4A51 #519D4A
tetradic
#4A519D #9D4A7A #9D964A #4A9D6D
square
#4A519D #9D4A7A #9D964A #4A9D6D
split-complementary
#4A519D #9D6D4A #7A9D4A
monochromatic
#23264A #363C73 #4A519D #6B72B9 #9599CD

Accessibility & contrast

On white

7.11
#4A519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A519D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A519D#FFFFFF#000000##FFFFFF
##4A519D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#26626F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a519d;
/* rgb */ color: rgb(74, 81, 157);
/* oklch */ color: oklch(46.8% 0.122 276.7);
Tailwind
colors: {
  custom: {
    50: '#8381ba',
    500: '#4a519d',
    950: '#000000',
  },
}
SCSS
$custom: #4a519d;
$custom-light: #8381ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a519d",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 234.94,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.1216,
    "h": 276.7
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#4A519D
secondary
#B9B58A
accent
#C25CCC
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A519D

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

Preview Lab → · Contrast checker → · Palette generator →

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