#4942D1#4942D1

#4942D1 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.211 H 277.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4942D1
RGBrgb(73, 66, 209)
HSLhsl(243, 61%, 54%)
HSVhsv(243, 68%, 82%)
CMYKcmyk(65.1%, 68.4%, 0%, 18%)
CIE-LABlab(37.69, 45.81, -72.64)
CIE-LCHlch(37.69, 85.88, 302.24°)
OKLaboklab(48.22% 0.0261 -0.2097)
OKLCHoklch(48.22% 0.211 277.1)
XYZxyz(16.2008, 9.9150, 61.3693)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942D1 #CAD142
analogous
#4283D1 #4942D1 #9142D1
triadic
#4942D1 #D14942 #42D149
tetradic
#4942D1 #D14283 #CAD142 #42D191
square
#4942D1 #D14283 #CAD142 #42D191
split-complementary
#4942D1 #D19142 #83D142
monochromatic
#221E7B #302AAC #4942D1 #7873DD #A8A4E9

Accessibility & contrast

On white

7.04
#4942D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4942D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4942D1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942D1#FFFFFF#000000##FFFFFF
##4942D11.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006884
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4942d1;
/* rgb */ color: rgb(73, 66, 209);
/* oklch */ color: oklch(48.2% 0.211 277.1);
Tailwind
colors: {
  custom: {
    50: '#8c78e0',
    500: '#4942d1',
    950: '#000000',
  },
}
SCSS
$custom: #4942d1;
$custom-light: #8c78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4942d1",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 242.937,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.21128,
    "h": 277.1
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#4942D1
secondary
#D3D699
accent
#E444DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4942D1

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

Preview Lab → · Contrast checker → · Palette generator →

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