#4940C9#4940C9

#4940C9 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.204 H 278.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4940C9
RGBrgb(73, 64, 201)
HSLhsl(244, 56%, 52%)
HSVhsv(244, 68%, 79%)
CMYKcmyk(63.7%, 68.2%, 0%, 21.2%)
CIE-LABlab(36.55, 44.40, -69.86)
CIE-LCHlch(36.55, 82.78, 302.43°)
OKLaboklab(47.18% 0.0287 -0.2015)
OKLCHoklch(47.18% 0.204 278.1)
XYZxyz(15.1203, 9.2991, 56.2451)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940C9 #C0C940
analogous
#407BC9 #4940C9 #8E40C9
triadic
#4940C9 #C94940 #40C949
tetradic
#4940C9 #C9407B #C0C940 #40C98E
square
#4940C9 #C9407B #C0C940 #40C98E
split-complementary
#4940C9 #C98E40 #7BC940
monochromatic
#251F6F #342D9F #4940C9 #7670D6 #A49FE4

Accessibility & contrast

On white

7.34
#4940C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4940C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940C9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940C9#FFFFFF#000000##FFFFFF
##4940C91.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4940c9;
/* rgb */ color: rgb(73, 64, 201);
/* oklch */ color: oklch(47.2% 0.204 278.1);
Tailwind
colors: {
  custom: {
    50: '#8b76db',
    500: '#4940c9',
    950: '#000000',
  },
}
SCSS
$custom: #4940c9;
$custom-light: #8b76db;
$custom-dark: #000000;
JSON
{
  "hex": "#4940c9",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 243.942,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47182,
    "c": 0.20357,
    "h": 278.1
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#4940C9
secondary
#CCD094
accent
#DF49D5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4940C9

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

Preview Lab → · Contrast checker → · Palette generator →

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