#4940CF#4940CF

#4940CF is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.211 H 277.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4940CF
RGBrgb(73, 64, 207)
HSLhsl(244, 60%, 53%)
HSVhsv(244, 69%, 81%)
CMYKcmyk(64.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(37.09, 46.31, -72.47)
CIE-LCHlch(37.09, 86.00, 302.58°)
OKLaboklab(47.73% 0.0278 -0.2091)
OKLCHoklch(47.73% 0.211 277.6)
XYZxyz(15.8399, 9.5869, 60.0351)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940CF #C6CF40
analogous
#407ECF #4940CF #9040CF
triadic
#4940CF #CF4940 #40CF49
tetradic
#4940CF #CF407E #C6CF40 #40CF90
square
#4940CF #CF407E #C6CF40 #40CF90
split-complementary
#4940CF #CF9040 #7ECF40
monochromatic
#231E77 #322AA8 #4940CF #7871DB #A6A2E8

Accessibility & contrast

On white

7.20
#4940CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4940CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940CF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940CF#FFFFFF#000000##FFFFFF
##4940CF1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4940cf;
/* rgb */ color: rgb(73, 64, 207);
/* oklch */ color: oklch(47.7% 0.211 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c76df',
    500: '#4940cf',
    950: '#000000',
  },
}
SCSS
$custom: #4940cf;
$custom-light: #8c76df;
$custom-dark: #000000;
JSON
{
  "hex": "#4940cf",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 243.776,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47732,
    "c": 0.21099,
    "h": 277.6
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#4940CF
secondary
#D0D497
accent
#E345D9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4940CF

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

Preview Lab → · Contrast checker → · Palette generator →

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