#4940D3#4940D3

#4940D3 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.216 H 277.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4940D3
RGBrgb(73, 64, 211)
HSLhsl(244, 63%, 54%)
HSVhsv(244, 70%, 83%)
CMYKcmyk(65.4%, 69.7%, 0%, 17.3%)
CIE-LABlab(37.45, 47.59, -74.18)
CIE-LCHlch(37.45, 88.13, 302.68°)
OKLaboklab(48.1% 0.0272 -0.2142)
OKLCHoklch(48.1% 0.216 277.2)
XYZxyz(16.3351, 9.7850, 62.6432)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4940D3 #CAD340
analogous
#4081D3 #4940D3 #9240D3
triadic
#4940D3 #D34940 #40D349
tetradic
#4940D3 #D34081 #CAD340 #40D392
square
#4940D3 #D34081 #CAD340 #40D392
split-complementary
#4940D3 #D39240 #81D340
monochromatic
#221D7C #3028AE #4940D3 #7872DE #A8A3EA

Accessibility & contrast

On white

7.10
#4940D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4940D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4940D3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4940D3#FFFFFF#000000##FFFFFF
##4940D31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4940d3;
/* rgb */ color: rgb(73, 64, 211);
/* oklch */ color: oklch(48.1% 0.216 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d76e2',
    500: '#4940d3',
    950: '#000000',
  },
}
SCSS
$custom: #4940d3;
$custom-light: #8d76e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4940d3",
  "rgb": {
    "r": 73,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 243.673,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.21589,
    "h": 277.2
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#4940D3
secondary
#D3D798
accent
#E642DC
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4940D3

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

Preview Lab → · Contrast checker → · Palette generator →

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