#4942DF#4942DF

#4942DF is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.228 H 276.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4942DF
RGBrgb(73, 66, 223)
HSLhsl(243, 71%, 57%)
HSVhsv(243, 70%, 87%)
CMYKcmyk(67.3%, 70.4%, 0%, 12.5%)
CIE-LABlab(38.97, 50.27, -78.58)
CIE-LCHlch(38.97, 93.29, 302.61°)
OKLaboklab(49.52% 0.024 -0.227)
OKLCHoklch(49.52% 0.228 276)
XYZxyz(18.0108, 10.6390, 70.9021)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4942DF #D8DF42
analogous
#428ADF #4942DF #9842DF
triadic
#4942DF #DF4942 #42DF49
tetradic
#4942DF #DF428A #D8DF42 #42DF98
square
#4942DF #DF428A #D8DF42 #42DF98
split-complementary
#4942DF #DF9842 #8ADF42
monochromatic
#1D188E #2821C3 #4942DF #7B76E8 #AEABF1

Accessibility & contrast

On white

6.71
#4942DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4942DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4942DF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4942DF#FFFFFF#000000##FFFFFF
##4942DF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0055DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4942df;
/* rgb */ color: rgb(73, 66, 223);
/* oklch */ color: oklch(49.5% 0.228 276.0);
Tailwind
colors: {
  custom: {
    50: '#8f78ea',
    500: '#4942df',
    950: '#000000',
  },
}
SCSS
$custom: #4942df;
$custom-light: #8f78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4942df",
  "rgb": {
    "r": 73,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 242.675,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.22831,
    "h": 276
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#4942DF
secondary
#DCDF9E
accent
#EE3AE6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4942DF

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

Preview Lab → · Contrast checker → · Palette generator →

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