#4C42D0#4C42D0

#4C42D0 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.209 H 278.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4C42D0
RGBrgb(76, 66, 208)
HSLhsl(244, 60%, 54%)
HSVhsv(244, 68%, 82%)
CMYKcmyk(63.5%, 68.3%, 0%, 18.4%)
CIE-LABlab(37.82, 45.88, -71.84)
CIE-LCHlch(37.82, 85.24, 302.56°)
OKLaboklab(48.34% 0.03 -0.2072)
OKLCHoklch(48.34% 0.209 278.2)
XYZxyz(16.3102, 9.9857, 60.7302)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42D0 #C6D042
analogous
#427FD0 #4C42D0 #9342D0
triadic
#4C42D0 #D04C42 #42D04C
tetradic
#4C42D0 #D0427F #C6D042 #42D093
square
#4C42D0 #D0427F #C6D042 #42D093
split-complementary
#4C42D0 #D09342 #7FD042
monochromatic
#251E79 #332AAA #4C42D0 #7A73DC #A9A4E8

Accessibility & contrast

On white

7.01
#4C42D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4C42D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C42D0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42D0#FFFFFF#000000##FFFFFF
##4C42D01.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c42d0;
/* rgb */ color: rgb(76, 66, 208);
/* oklch */ color: oklch(48.3% 0.209 278.2);
Tailwind
colors: {
  custom: {
    50: '#8d78e0',
    500: '#4c42d0',
    950: '#000000',
  },
}
SCSS
$custom: #4c42d0;
$custom-light: #8d78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42d0",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 244.225,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.20942,
    "h": 278.2
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#4C42D0
secondary
#D1D599
accent
#E344D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4C42D0

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

Preview Lab → · Contrast checker → · Palette generator →

#4C42D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva