#4940C8#4940C8

#4940C8 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.202 H 278.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4940C8
RGBrgb(73, 64, 200)
HSLhsl(244, 55%, 52%)
HSVhsv(244, 68%, 78%)
CMYKcmyk(63.5%, 68%, 0%, 21.6%)
CIE-LABlab(36.47, 44.08, -69.43)
CIE-LCHlch(36.47, 82.24, 302.41°)
OKLaboklab(47.09% 0.0288 -0.2003)
OKLCHoklch(47.09% 0.202 278.2)
XYZxyz(15.0030, 9.2522, 55.6276)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940C8 #BFC840
analogous
#407BC8 #4940C8 #8D40C8
triadic
#4940C8 #C84940 #40C849
tetradic
#4940C8 #C8407B #BFC840 #40C88D
square
#4940C8 #C8407B #BFC840 #40C88D
split-complementary
#4940C8 #C88D40 #7BC840
monochromatic
#25206E #352D9D #4940C8 #7670D6 #A49FE3

Accessibility & contrast

On white

7.37
#4940C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4940C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940C8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940C8#FFFFFF#000000##FFFFFF
##4940C81.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4940c8;
/* rgb */ color: rgb(73, 64, 200);
/* oklch */ color: oklch(47.1% 0.202 278.2);
Tailwind
colors: {
  custom: {
    50: '#8a76da',
    500: '#4940c8',
    950: '#000000',
  },
}
SCSS
$custom: #4940c8;
$custom-light: #8a76da;
$custom-dark: #000000;
JSON
{
  "hex": "#4940c8",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 243.971,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.20232,
    "h": 278.2
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4940C8

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

Preview Lab → · Contrast checker → · Palette generator →

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