#4942DC#4942DC

#4942DC is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.225 H 276.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4942DC
RGBrgb(73, 66, 220)
HSLhsl(243, 69%, 56%)
HSVhsv(243, 70%, 86%)
CMYKcmyk(66.8%, 70%, 0%, 13.7%)
CIE-LABlab(38.69, 49.32, -77.32)
CIE-LCHlch(38.69, 91.71, 302.53°)
OKLaboklab(49.24% 0.0245 -0.2234)
OKLCHoklch(49.24% 0.225 276.3)
XYZxyz(17.6099, 10.4786, 68.7908)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942DC #D5DC42
analogous
#4288DC #4942DC #9642DC
triadic
#4942DC #DC4942 #42DC49
tetradic
#4942DC #DC4288 #D5DC42 #42DC96
square
#4942DC #DC4288 #D5DC42 #42DC96
split-complementary
#4942DC #DC9642 #88DC42
monochromatic
#1F1A8A #2A23BE #4942DC #7B76E6 #ACA9EF

Accessibility & contrast

On white

6.78
#4942DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4942DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4942DC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942DC#FFFFFF#000000##FFFFFF
##4942DC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#0054D9
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4942dc;
/* rgb */ color: rgb(73, 66, 220);
/* oklch */ color: oklch(49.2% 0.225 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e78e8',
    500: '#4942dc',
    950: '#000000',
  },
}
SCSS
$custom: #4942dc;
$custom-light: #8e78e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4942dc",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 242.727,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.2247,
    "h": 276.3
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#4942DC
secondary
#DADD9D
accent
#EC3CE4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4942DC

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

Preview Lab → · Contrast checker → · Palette generator →

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