#4940BC#4940BC

#4940BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.187 H 279.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4940BC
RGBrgb(73, 64, 188)
HSLhsl(244, 49%, 49%)
HSVhsv(244, 66%, 74%)
CMYKcmyk(61.2%, 66%, 0%, 26.3%)
CIE-LABlab(35.43, 40.21, -64.11)
CIE-LCHlch(35.43, 75.67, 302.10°)
OKLaboklab(46.02% 0.0303 -0.1847)
OKLCHoklch(46.02% 0.187 279.3)
XYZxyz(13.6553, 8.7131, 48.5294)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940BC #B3BC40
analogous
#4075BC #4940BC #8740BC
triadic
#4940BC #BC4940 #40BC49
tetradic
#4940BC #BC4075 #B3BC40 #40BC87
square
#4940BC #BC4075 #B3BC40 #40BC87
split-complementary
#4940BC #BC8740 #75BC40
monochromatic
#262161 #37308E #4940BC #736CCD #9F9ADD

Accessibility & contrast

On white

7.66
#4940BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4940BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940BC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940BC#FFFFFF#000000##FFFFFF
##4940BC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4940bc;
/* rgb */ color: rgb(73, 64, 188);
/* oklch */ color: oklch(46.0% 0.187 279.3);
Tailwind
colors: {
  custom: {
    50: '#8876d1',
    500: '#4940bc',
    950: '#000000',
  },
}
SCSS
$custom: #4940bc;
$custom-light: #8876d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4940bc",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 244.355,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46021,
    "c": 0.18715,
    "h": 279.3
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#4940BC
secondary
#C4C98F
accent
#D94FCF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4940BC

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

Preview Lab → · Contrast checker → · Palette generator →

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