#4940BB#4940BB

#4940BB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.186 H 279.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4940BB
RGBrgb(73, 64, 187)
HSLhsl(244, 49%, 49%)
HSVhsv(244, 66%, 73%)
CMYKcmyk(61%, 65.8%, 0%, 26.7%)
CIE-LABlab(35.34, 39.89, -63.66)
CIE-LCHlch(35.34, 75.12, 302.07°)
OKLaboklab(45.93% 0.0305 -0.1834)
OKLCHoklch(45.93% 0.186 279.4)
XYZxyz(13.5478, 8.6701, 47.9637)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940BB #B2BB40
analogous
#4075BB #4940BB #8740BB
triadic
#4940BB #BB4940 #40BB49
tetradic
#4940BB #BB4075 #B2BB40 #40BB87
square
#4940BB #BB4075 #B2BB40 #40BB87
split-complementary
#4940BB #BB8740 #75BB40
monochromatic
#252160 #37308D #4940BB #736CCD #9E99DC

Accessibility & contrast

On white

7.68
#4940BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4940BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940BB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940BB#FFFFFF#000000##FFFFFF
##4940BB1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4940bb;
/* rgb */ color: rgb(73, 64, 187);
/* oklch */ color: oklch(45.9% 0.186 279.4);
Tailwind
colors: {
  custom: {
    50: '#8876d0',
    500: '#4940bb',
    950: '#000000',
  },
}
SCSS
$custom: #4940bb;
$custom-light: #8876d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4940bb",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 244.39,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.18586,
    "h": 279.4
  },
  "luminance": 0.08671
}

Semantic roles & 50–950 ramp

primary
#4940BB
secondary
#C4C88F
accent
#D94FCF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0814
muted
#7D7B82

Preview Lab

Preview with #4940BB

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

Preview Lab → · Contrast checker → · Palette generator →

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