#4942E2#4942E2

#4942E2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.232 H 275.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4942E2
RGBrgb(73, 66, 226)
HSLhsl(243, 73%, 57%)
HSVhsv(243, 71%, 89%)
CMYKcmyk(67.7%, 70.8%, 0%, 11.4%)
CIE-LABlab(39.25, 51.22, -79.84)
CIE-LCHlch(39.25, 94.85, 302.68°)
OKLaboklab(49.81% 0.0235 -0.2307)
OKLCHoklch(49.81% 0.232 275.8)
XYZxyz(18.4188, 10.8022, 73.0511)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942E2 #DBE242
analogous
#428BE2 #4942E2 #9942E2
triadic
#4942E2 #E24942 #42E249
tetradic
#4942E2 #E2428B #DBE242 #42E299
square
#4942E2 #E2428B #DBE242 #42E299
split-complementary
#4942E2 #E29942 #8BE242
monochromatic
#1C1793 #261FC8 #4942E2 #7C77EA #AFACF2

Accessibility & contrast

On white

6.64
#4942E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4942E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4942E2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942E2#FFFFFF#000000##FFFFFF
##4942E21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4942e2;
/* rgb */ color: rgb(73, 66, 226);
/* oklch */ color: oklch(49.8% 0.232 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f78ec',
    500: '#4942e2',
    950: '#000000',
  },
}
SCSS
$custom: #4942e2;
$custom-light: #8f78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4942e2",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 242.625,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.2319,
    "h": 275.8
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#4942E2
secondary
#DDE09F
accent
#F038E8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4942E2

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

Preview Lab → · Contrast checker → · Palette generator →

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