#4940D2#4940D2

#4940D2 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.215 H 277.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4940D2
RGBrgb(73, 64, 210)
HSLhsl(244, 62%, 54%)
HSVhsv(244, 70%, 82%)
CMYKcmyk(65.2%, 69.5%, 0%, 17.6%)
CIE-LABlab(37.36, 47.27, -73.75)
CIE-LCHlch(37.36, 87.60, 302.66°)
OKLaboklab(48.01% 0.0274 -0.2129)
OKLCHoklch(48.01% 0.215 277.3)
XYZxyz(16.2101, 9.7350, 61.9851)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940D2 #C9D240
analogous
#4080D2 #4940D2 #9240D2
triadic
#4940D2 #D24940 #40D249
tetradic
#4940D2 #D24080 #C9D240 #40D292
square
#4940D2 #D24080 #C9D240 #40D292
split-complementary
#4940D2 #D29240 #80D240
monochromatic
#231D7B #3129AC #4940D2 #7872DE #A7A3E9

Accessibility & contrast

On white

7.13
#4940D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4940D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940D2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940D2#FFFFFF#000000##FFFFFF
##4940D21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4940d2;
/* rgb */ color: rgb(73, 64, 210);
/* oklch */ color: oklch(48.0% 0.215 277.3);
Tailwind
colors: {
  custom: {
    50: '#8c76e1',
    500: '#4940d2',
    950: '#000000',
  },
}
SCSS
$custom: #4940d2;
$custom-light: #8c76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4940d2",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 243.699,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4801,
    "c": 0.21467,
    "h": 277.3
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#4940D2
secondary
#D2D698
accent
#E543DB
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4940D2

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

Preview Lab → · Contrast checker → · Palette generator →

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