#4942EB#4942EB

#4942EB is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.7% C 0.243 H 275.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4942EB
RGBrgb(73, 66, 235)
HSLhsl(242, 81%, 59%)
HSVhsv(242, 72%, 92%)
CMYKcmyk(68.9%, 71.9%, 0%, 7.8%)
CIE-LABlab(40.10, 54.04, -83.55)
CIE-LCHlch(40.10, 99.50, 302.89°)
OKLaboklab(50.67% 0.022 -0.2415)
OKLCHoklch(50.67% 0.243 275.2)
XYZxyz(19.6863, 11.3092, 79.7266)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942EB #E4EB42
analogous
#4290EB #4942EB #9E42EB
triadic
#4942EB #EB4942 #42EB49
tetradic
#4942EB #EB4290 #E4EB42 #42EB9E
square
#4942EB #EB4290 #E4EB42 #42EB9E
split-complementary
#4942EB #EB9E42 #90EB42
monochromatic
#1711A2 #1F17D9 #4942EB #7E79F1 #B4B1F7

Accessibility & contrast

On white

6.44
#4942EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4942EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4942EB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942EB#FFFFFF#000000##FFFFFF
##4942EB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F0
Deuteranopia (green-blind)
#0057E8
Tritanopia (blue-blind)
#007293
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4942eb;
/* rgb */ color: rgb(73, 66, 235);
/* oklch */ color: oklch(50.7% 0.243 275.2);
Tailwind
colors: {
  custom: {
    50: '#9178f3',
    500: '#4942eb',
    950: '#000000',
  },
}
SCSS
$custom: #4942eb;
$custom-light: #9178f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4942eb",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 235
  },
  "hsl": {
    "h": 242.485,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.24252,
    "h": 275.2
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#4942EB
secondary
#E3E6A3
accent
#F731EF
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4942EB

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

Preview Lab → · Contrast checker → · Palette generator →

#4942EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva