#4942C4#4942C4

#4942C4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.195 H 278.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4942C4
RGBrgb(73, 66, 196)
HSLhsl(243, 52%, 51%)
HSVhsv(243, 66%, 77%)
CMYKcmyk(62.8%, 66.3%, 0%, 23.1%)
CIE-LABlab(36.55, 41.61, -66.96)
CIE-LCHlch(36.55, 78.83, 301.86°)
OKLaboklab(47.05% 0.0278 -0.193)
OKLCHoklch(47.05% 0.195 278.2)
XYZxyz(14.6565, 9.2973, 53.2360)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942C4 #BDC442
analogous
#427CC4 #4942C4 #8A42C4
triadic
#4942C4 #C44942 #42C449
tetradic
#4942C4 #C4427C #BDC442 #42C48A
square
#4942C4 #C4427C #BDC442 #42C48A
split-complementary
#4942C4 #C48A42 #7CC442
monochromatic
#25216A #353099 #4942C4 #7671D3 #A39FE1

Accessibility & contrast

On white

7.34
#4942C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4942C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4942C4
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942C4#FFFFFF#000000##FFFFFF
##4942C41.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4942c4;
/* rgb */ color: rgb(73, 66, 196);
/* oklch */ color: oklch(47.0% 0.195 278.2);
Tailwind
colors: {
  custom: {
    50: '#8a77d7',
    500: '#4942c4',
    950: '#000000',
  },
}
SCSS
$custom: #4942c4;
$custom-light: #8a77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4942c4",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 243.231,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.19501,
    "h": 278.2
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#4942C4
secondary
#CACE94
accent
#DC4CD4
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4942C4

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

Preview Lab → · Contrast checker → · Palette generator →

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