#4940AA#4940AA

#4940AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.164 H 281.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4940AA
RGBrgb(73, 64, 170)
HSLhsl(245, 45%, 46%)
HSVhsv(245, 62%, 67%)
CMYKcmyk(57.1%, 62.4%, 0%, 33.3%)
CIE-LABlab(33.95, 34.37, -55.84)
CIE-LCHlch(33.95, 65.57, 301.61°)
OKLaboklab(44.49% 0.0319 -0.1604)
OKLCHoklch(44.49% 0.164 281.3)
XYZxyz(11.8345, 7.9848, 38.9400)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940AA #A1AA40
analogous
#406CAA #4940AA #7E40AA
triadic
#4940AA #AA4940 #40AA49
tetradic
#4940AA #AA406C #A1AA40 #40AA7E
square
#4940AA #AA406C #A1AA40 #40AA7E
split-complementary
#4940AA #AA7E40 #6CAA40
monochromatic
#231F51 #362F7E #4940AA #6B63C4 #958FD5

Accessibility & contrast

On white

8.09
#4940AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4940AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4940AA#FFFFFF#000000##FFFFFF
##4940AA1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#165A6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4940aa;
/* rgb */ color: rgb(73, 64, 170);
/* oklch */ color: oklch(44.5% 0.164 281.3);
Tailwind
colors: {
  custom: {
    50: '#8575c4',
    500: '#4940aa',
    950: '#000000',
  },
}
SCSS
$custom: #4940aa;
$custom-light: #8575c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4940aa",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 245.094,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.16354,
    "h": 281.3
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#4940AA
secondary
#BBC086
accent
#D553CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4940AA

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

Preview Lab → · Contrast checker → · Palette generator →

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