#4940A2#4940A2

#4940A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.153 H 282.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4940A2
RGBrgb(73, 64, 162)
HSLhsl(246, 43%, 44%)
HSVhsv(246, 60%, 64%)
CMYKcmyk(54.9%, 60.5%, 0%, 36.5%)
CIE-LABlab(33.33, 31.77, -52.05)
CIE-LCHlch(33.33, 60.98, 301.40°)
OKLaboklab(43.84% 0.0323 -0.1492)
OKLCHoklch(43.84% 0.153 282.2)
XYZxyz(11.1006, 7.6912, 35.0750)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940A2 #99A240
analogous
#4068A2 #4940A2 #7A40A2
triadic
#4940A2 #A24940 #40A249
tetradic
#4940A2 #A24068 #99A240 #40A27A
square
#4940A2 #A24068 #99A240 #40A27A
split-complementary
#4940A2 #A27A40 #68A240
monochromatic
#211D4A #352F76 #4940A2 #685FC0 #928BD1

Accessibility & contrast

On white

8.27
#4940A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4940A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4940A2#FFFFFF#000000##FFFFFF
##4940A21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#21576A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4940a2;
/* rgb */ color: rgb(73, 64, 162);
/* oklch */ color: oklch(43.8% 0.153 282.2);
Tailwind
colors: {
  custom: {
    50: '#8475be',
    500: '#4940a2',
    950: '#000000',
  },
}
SCSS
$custom: #4940a2;
$custom-light: #8475be;
$custom-dark: #000000;
JSON
{
  "hex": "#4940a2",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 245.51,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.1527,
    "h": 282.2
  },
  "luminance": 0.07692
}

Semantic roles & 50–950 ramp

primary
#4940A2
secondary
#B7BC82
accent
#D355C8
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4940A2

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

Preview Lab → · Contrast checker → · Palette generator →

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