#4940D8#4940D8

#4940D8 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.6% C 0.222 H 276.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4940D8
RGBrgb(73, 64, 216)
HSLhsl(244, 66%, 55%)
HSVhsv(244, 70%, 85%)
CMYKcmyk(66.2%, 70.4%, 0%, 15.3%)
CIE-LABlab(37.91, 49.17, -76.30)
CIE-LCHlch(37.91, 90.77, 302.80°)
OKLaboklab(48.57% 0.0264 -0.2204)
OKLCHoklch(48.57% 0.222 276.8)
XYZxyz(16.9717, 10.0397, 65.9959)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940D8 #CFD840
analogous
#4083D8 #4940D8 #9540D8
triadic
#4940D8 #D84940 #40D849
tetradic
#4940D8 #D84083 #CFD840 #40D895
square
#4940D8 #D84083 #CFD840 #40D895
split-complementary
#4940D8 #D89540 #83D840
monochromatic
#211B83 #2E25B6 #4940D8 #7973E2 #AAA6ED

Accessibility & contrast

On white

6.98
#4940D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4940D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4940D8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940D8#FFFFFF#000000##FFFFFF
##4940D81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0053D5
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4940d8;
/* rgb */ color: rgb(73, 64, 216);
/* oklch */ color: oklch(48.6% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#8e76e5',
    500: '#4940d8',
    950: '#000000',
  },
}
SCSS
$custom: #4940d8;
$custom-light: #8e76e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4940d8",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 243.553,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.22194,
    "h": 276.8
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#4940D8
secondary
#D6DA9A
accent
#E93FDF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4940D8

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

Preview Lab → · Contrast checker → · Palette generator →

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