#4940DF#4940DF

#4940DF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.230 H 276.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4940DF
RGBrgb(73, 64, 223)
HSLhsl(243, 71%, 56%)
HSVhsv(243, 71%, 87%)
CMYKcmyk(67.3%, 71.3%, 0%, 12.5%)
CIE-LABlab(38.57, 51.37, -79.24)
CIE-LCHlch(38.57, 94.44, 302.96°)
OKLaboklab(49.24% 0.0252 -0.2289)
OKLCHoklch(49.24% 0.23 276.3)
XYZxyz(17.8960, 10.4094, 70.8638)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940DF #D6DF40
analogous
#4087DF #4940DF #9940DF
triadic
#4940DF #DF4940 #40DF49
tetradic
#4940DF #DF4087 #D6DF40 #40DF99
square
#4940DF #DF4087 #D6DF40 #40DF99
split-complementary
#4940DF #DF9940 #87DF40
monochromatic
#1E188D #2A20C1 #4940DF #7B74E8 #ADA9F1

Accessibility & contrast

On white

6.81
#4940DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4940DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4940DF#FFFFFF#000000##FFFFFF
##4940DF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E4
Deuteranopia (green-blind)
#0054DC
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4940df;
/* rgb */ color: rgb(73, 64, 223);
/* oklch */ color: oklch(49.2% 0.230 276.3);
Tailwind
colors: {
  custom: {
    50: '#8f77ea',
    500: '#4940df',
    950: '#000000',
  },
}
SCSS
$custom: #4940df;
$custom-light: #8f77ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4940df",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 243.396,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.23033,
    "h": 276.3
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#4940DF
secondary
#DADE9D
accent
#EE3AE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4940DF

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

Preview Lab → · Contrast checker → · Palette generator →

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