#4940DD#4940DD

#4940DD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.228 H 276.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4940DD
RGBrgb(73, 64, 221)
HSLhsl(243, 70%, 56%)
HSVhsv(243, 71%, 87%)
CMYKcmyk(67%, 71%, 0%, 13.3%)
CIE-LABlab(38.38, 50.75, -78.40)
CIE-LCHlch(38.38, 93.39, 302.91°)
OKLaboklab(49.05% 0.0256 -0.2265)
OKLCHoklch(49.05% 0.228 276.4)
XYZxyz(17.6279, 10.3022, 69.4521)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940DD #D4DD40
analogous
#4086DD #4940DD #9740DD
triadic
#4940DD #DD4940 #40DD49
tetradic
#4940DD #DD4086 #D4DD40 #40DD97
square
#4940DD #DD4086 #D4DD40 #40DD97
split-complementary
#4940DD #DD9740 #86DD40
monochromatic
#1F198A #2B22BE #4940DD #7B74E6 #ACA8EF

Accessibility & contrast

On white

6.86
#4940DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4940DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4940DD#FFFFFF#000000##FFFFFF
##4940DD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0053DA
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4940dd;
/* rgb */ color: rgb(73, 64, 221);
/* oklch */ color: oklch(49.0% 0.228 276.4);
Tailwind
colors: {
  custom: {
    50: '#8f77e9',
    500: '#4940dd',
    950: '#000000',
  },
}
SCSS
$custom: #4940dd;
$custom-light: #8f77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4940dd",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 243.439,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49045,
    "c": 0.22795,
    "h": 276.4
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#4940DD
secondary
#D9DD9C
accent
#ED3BE2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4940DD

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

Preview Lab → · Contrast checker → · Palette generator →

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