#4942D7#4942D7

#4942D7 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.219 H 276.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4942D7
RGBrgb(73, 66, 215)
HSLhsl(243, 65%, 55%)
HSVhsv(243, 69%, 84%)
CMYKcmyk(66%, 69.3%, 0%, 15.7%)
CIE-LABlab(38.23, 47.73, -75.21)
CIE-LCHlch(38.23, 89.07, 302.40°)
OKLaboklab(48.77% 0.0253 -0.2172)
OKLCHoklch(48.77% 0.219 276.6)
XYZxyz(16.9576, 10.2177, 65.3554)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942D7 #D0D742
analogous
#4285D7 #4942D7 #9442D7
triadic
#4942D7 #D74942 #42D749
tetradic
#4942D7 #D74285 #D0D742 #42D794
square
#4942D7 #D74285 #D0D742 #42D794
split-complementary
#4942D7 #D79442 #85D742
monochromatic
#211C83 #2D26B5 #4942D7 #7A75E2 #AAA7EC

Accessibility & contrast

On white

6.90
#4942D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4942D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4942D7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942D7#FFFFFF#000000##FFFFFF
##4942D71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DB
Deuteranopia (green-blind)
#0053D4
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4942d7;
/* rgb */ color: rgb(73, 66, 215);
/* oklch */ color: oklch(48.8% 0.219 276.6);
Tailwind
colors: {
  custom: {
    50: '#8d78e5',
    500: '#4942d7',
    950: '#000000',
  },
}
SCSS
$custom: #4942d7;
$custom-light: #8d78e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4942d7",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 242.819,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.21864,
    "h": 276.6
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#4942D7
secondary
#D7DA9B
accent
#E840E0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4942D7

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

Preview Lab → · Contrast checker → · Palette generator →

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