#4940D6#4940D6

#4940D6 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.220 H 277.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4940D6
RGBrgb(73, 64, 214)
HSLhsl(244, 65%, 55%)
HSVhsv(244, 70%, 84%)
CMYKcmyk(65.9%, 70.1%, 0%, 16.1%)
CIE-LABlab(37.73, 48.54, -75.46)
CIE-LCHlch(37.73, 89.72, 302.75°)
OKLaboklab(48.38% 0.0267 -0.2179)
OKLCHoklch(48.38% 0.22 277)
XYZxyz(16.7147, 9.9369, 64.6425)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940D6 #CDD640
analogous
#4082D6 #4940D6 #9440D6
triadic
#4940D6 #D64940 #40D649
tetradic
#4940D6 #D64082 #CDD640 #40D694
square
#4940D6 #D64082 #CDD640 #40D694
split-complementary
#4940D6 #D69440 #82D640
monochromatic
#221B80 #2F26B2 #4940D6 #7972E1 #A9A5EC

Accessibility & contrast

On white

7.03
#4940D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4940D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4940D6#FFFFFF#000000##FFFFFF
##4940D61.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDA
Deuteranopia (green-blind)
#0052D3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4940d6;
/* rgb */ color: rgb(73, 64, 214);
/* oklch */ color: oklch(48.4% 0.220 277.0);
Tailwind
colors: {
  custom: {
    50: '#8d76e4',
    500: '#4940d6',
    950: '#000000',
  },
}
SCSS
$custom: #4940d6;
$custom-light: #8d76e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4940d6",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 214
  },
  "hsl": {
    "h": 243.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.21953,
    "h": 277
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#4940D6
secondary
#D5D999
accent
#E840DE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4940D6

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

Preview Lab → · Contrast checker → · Palette generator →

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