#4940C7#4940C7

#4940C7 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.0% C 0.201 H 278.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4940C7
RGBrgb(73, 64, 199)
HSLhsl(244, 55%, 52%)
HSVhsv(244, 68%, 78%)
CMYKcmyk(63.3%, 67.8%, 0%, 22%)
CIE-LABlab(36.38, 43.75, -68.99)
CIE-LCHlch(36.38, 81.69, 302.38°)
OKLaboklab(47% 0.029 -0.199)
OKLCHoklch(47% 0.201 278.3)
XYZxyz(14.8865, 9.2056, 55.0141)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940C7 #BEC740
analogous
#407BC7 #4940C7 #8D40C7
triadic
#4940C7 #C74940 #40C749
tetradic
#4940C7 #C7407B #BEC740 #40C78D
square
#4940C7 #C7407B #BEC740 #40C78D
split-complementary
#4940C7 #C78D40 #7BC740
monochromatic
#25206D #352E9C #4940C7 #766FD5 #A39FE3

Accessibility & contrast

On white

7.39
#4940C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4940C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4940C7#FFFFFF#000000##FFFFFF
##4940C71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4940c7;
/* rgb */ color: rgb(73, 64, 199);
/* oklch */ color: oklch(47.0% 0.201 278.3);
Tailwind
colors: {
  custom: {
    50: '#8a76d9',
    500: '#4940c7',
    950: '#000000',
  },
}
SCSS
$custom: #4940c7;
$custom-light: #8a76d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4940c7",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 244,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.20108,
    "h": 278.3
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#4940C7
secondary
#CBCF94
accent
#DE4AD4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4940C7

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

Preview Lab → · Contrast checker → · Palette generator →

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