#4940CE#4940CE

#4940CE is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.6% C 0.210 H 277.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4940CE
RGBrgb(73, 64, 206)
HSLhsl(244, 59%, 53%)
HSVhsv(244, 69%, 81%)
CMYKcmyk(64.6%, 68.9%, 0%, 19.2%)
CIE-LABlab(37.00, 46.00, -72.03)
CIE-LCHlch(37.00, 85.47, 302.56°)
OKLaboklab(47.64% 0.028 -0.2079)
OKLCHoklch(47.64% 0.21 277.7)
XYZxyz(15.7180, 9.5382, 59.3933)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940CE #C5CE40
analogous
#407ECE #4940CE #9040CE
triadic
#4940CE #CE4940 #40CE49
tetradic
#4940CE #CE407E #C5CE40 #40CE90
square
#4940CE #CE407E #C5CE40 #40CE90
split-complementary
#4940CE #CE9040 #7ECE40
monochromatic
#241E75 #322BA6 #4940CE #7771DA #A6A1E7

Accessibility & contrast

On white

7.22
#4940CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4940CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940CE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940CE#FFFFFF#000000##FFFFFF
##4940CE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4940ce;
/* rgb */ color: rgb(73, 64, 206);
/* oklch */ color: oklch(47.6% 0.210 277.7);
Tailwind
colors: {
  custom: {
    50: '#8c76de',
    500: '#4940ce',
    950: '#000000',
  },
}
SCSS
$custom: #4940ce;
$custom-light: #8c76de;
$custom-dark: #000000;
JSON
{
  "hex": "#4940ce",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 243.803,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4764,
    "c": 0.20976,
    "h": 277.7
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#4940CE
secondary
#D0D496
accent
#E245D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4940CE

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

Preview Lab → · Contrast checker → · Palette generator →

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