#4C42DA#4C42DA

#4C42DA is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.222 H 277.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4C42DA
RGBrgb(76, 66, 218)
HSLhsl(244, 67%, 56%)
HSVhsv(244, 70%, 85%)
CMYKcmyk(65.1%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.71, 49.04, -76.13)
CIE-LCHlch(38.71, 90.56, 302.79°)
OKLaboklab(49.26% 0.0285 -0.2198)
OKLCHoklch(49.26% 0.222 277.4)
XYZxyz(17.5795, 10.4934, 67.4151)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42DA #D0DA42
analogous
#4284DA #4C42DA #9842DA
triadic
#4C42DA #DA4C42 #42DA4C
tetradic
#4C42DA #DA4284 #D0DA42 #42DA98
square
#4C42DA #DA4284 #D0DA42 #42DA98
split-complementary
#4C42DA #DA9842 #84DA42
monochromatic
#221A87 #2E24BA #4C42DA #7C75E4 #ADA8EE

Accessibility & contrast

On white

6.78
#4C42DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4C42DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C42DA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42DA#FFFFFF#000000##FFFFFF
##4C42DA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0055D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c42da;
/* rgb */ color: rgb(76, 66, 218);
/* oklch */ color: oklch(49.3% 0.222 277.4);
Tailwind
colors: {
  custom: {
    50: '#8f78e7',
    500: '#4c42da',
    950: '#000000',
  },
}
SCSS
$custom: #4c42da;
$custom-light: #8f78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42da",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 243.947,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.22163,
    "h": 277.4
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#4C42DA
secondary
#D7DB9C
accent
#EA3EDF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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