#4940AE#4940AE

#4940AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.169 H 280.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4940AE
RGBrgb(73, 64, 174)
HSLhsl(245, 46%, 47%)
HSVhsv(245, 63%, 68%)
CMYKcmyk(58%, 63.2%, 0%, 31.8%)
CIE-LABlab(34.27, 35.67, -57.71)
CIE-LCHlch(34.27, 67.84, 301.72°)
OKLaboklab(44.82% 0.0317 -0.1659)
OKLCHoklch(44.82% 0.169 280.8)
XYZxyz(12.2186, 8.1384, 40.9632)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940AE #A5AE40
analogous
#406EAE #4940AE #8040AE
triadic
#4940AE #AE4940 #40AE49
tetradic
#4940AE #AE406E #A5AE40 #40AE80
square
#4940AE #AE406E #A5AE40 #40AE80
split-complementary
#4940AE #AE8040 #6EAE40
monochromatic
#231F55 #363081 #4940AE #6D65C6 #9792D7

Accessibility & contrast

On white

7.99
#4940AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4940AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940AE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940AE#FFFFFF#000000##FFFFFF
##4940AE1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#0D5B71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4940ae;
/* rgb */ color: rgb(73, 64, 174);
/* oklch */ color: oklch(44.8% 0.169 280.8);
Tailwind
colors: {
  custom: {
    50: '#8675c7',
    500: '#4940ae',
    950: '#000000',
  },
}
SCSS
$custom: #4940ae;
$custom-light: #8675c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4940ae",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 244.909,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4482,
    "c": 0.16887,
    "h": 280.8
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#4940AE
secondary
#BDC288
accent
#D652CB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4940AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4940AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva