#4942E7#4942E7

#4942E7 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.238 H 275.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4942E7
RGBrgb(73, 66, 231)
HSLhsl(243, 77%, 58%)
HSVhsv(243, 71%, 91%)
CMYKcmyk(68.4%, 71.4%, 0%, 9.4%)
CIE-LABlab(39.72, 52.79, -81.91)
CIE-LCHlch(39.72, 97.44, 302.80°)
OKLaboklab(50.28% 0.0227 -0.2367)
OKLCHoklch(50.28% 0.238 275.5)
XYZxyz(19.1149, 11.0806, 76.7172)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942E7 #E0E742
analogous
#428EE7 #4942E7 #9B42E7
triadic
#4942E7 #E74942 #42E749
tetradic
#4942E7 #E7428E #E0E742 #42E79B
square
#4942E7 #E7428E #E0E742 #42E79B
split-complementary
#4942E7 #E79B42 #8EE742
monochromatic
#19149B #221BD1 #4942E7 #7D78EE #B2AFF5

Accessibility & contrast

On white

6.53
#4942E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4942E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4942E7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942E7#FFFFFF#000000##FFFFFF
##4942E71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EC
Deuteranopia (green-blind)
#0056E4
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4942e7;
/* rgb */ color: rgb(73, 66, 231);
/* oklch */ color: oklch(50.3% 0.238 275.5);
Tailwind
colors: {
  custom: {
    50: '#9078f0',
    500: '#4942e7',
    950: '#000000',
  },
}
SCSS
$custom: #4942e7;
$custom-light: #9078f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4942e7",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 231
  },
  "hsl": {
    "h": 242.545,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.23782,
    "h": 275.5
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#4942E7
secondary
#E0E3A2
accent
#F434EC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4942E7

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

Preview Lab → · Contrast checker → · Palette generator →

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