#4C42DD#4C42DD

#4C42DD is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.225 H 277.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4C42DD
RGBrgb(76, 66, 221)
HSLhsl(244, 70%, 56%)
HSVhsv(244, 70%, 87%)
CMYKcmyk(65.6%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.99, 49.99, -77.40)
CIE-LCHlch(38.99, 92.14, 302.86°)
OKLaboklab(49.53% 0.028 -0.2235)
OKLCHoklch(49.53% 0.225 277.2)
XYZxyz(17.9756, 10.6518, 69.5013)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42DD #D3DD42
analogous
#4286DD #4C42DD #9A42DD
triadic
#4C42DD #DD4C42 #42DD4C
tetradic
#4C42DD #DD4286 #D3DD42 #42DD9A
square
#4C42DD #DD4286 #D3DD42 #42DD9A
split-complementary
#4C42DD #DD9A42 #86DD42
monochromatic
#20198C #2D22BF #4C42DD #7D76E6 #AEAAF0

Accessibility & contrast

On white

6.71
#4C42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4C42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C42DD
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42DD#FFFFFF#000000##FFFFFF
##4C42DD1.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)
#0062E2
Deuteranopia (green-blind)
#0055DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c42dd;
/* rgb */ color: rgb(76, 66, 221);
/* oklch */ color: oklch(49.5% 0.225 277.2);
Tailwind
colors: {
  custom: {
    50: '#9078e9',
    500: '#4c42dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c42dd;
$custom-light: #9078e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42dd",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 243.871,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.22525,
    "h": 277.2
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#4C42DD
secondary
#D9DD9D
accent
#EC3BE1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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