#4C42CC#4C42CC

#4C42CC is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.0% C 0.204 H 278.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4C42CC
RGBrgb(76, 66, 204)
HSLhsl(244, 58%, 53%)
HSVhsv(244, 68%, 80%)
CMYKcmyk(62.7%, 67.6%, 0%, 20%)
CIE-LABlab(37.47, 44.61, -70.10)
CIE-LCHlch(37.47, 83.09, 302.47°)
OKLaboklab(47.98% 0.0306 -0.2022)
OKLCHoklch(47.98% 0.204 278.6)
XYZxyz(15.8243, 9.7913, 58.1711)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42CC #C2CC42
analogous
#427DCC #4C42CC #9142CC
triadic
#4C42CC #CC4C42 #42CC4C
tetradic
#4C42CC #CC427D #C2CC42 #42CC91
square
#4C42CC #CC427D #C2CC42 #42CC91
split-complementary
#4C42CC #CC9142 #7DCC42
monochromatic
#261F74 #352CA4 #4C42CC #7A72D9 #A7A2E6

Accessibility & contrast

On white

7.10
#4C42CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4C42CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C42CC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42CC#FFFFFF#000000##FFFFFF
##4C42CC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c42cc;
/* rgb */ color: rgb(76, 66, 204);
/* oklch */ color: oklch(48.0% 0.204 278.6);
Tailwind
colors: {
  custom: {
    50: '#8d78dd',
    500: '#4c42cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c42cc;
$custom-light: #8d78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42cc",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 244.348,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.20446,
    "h": 278.6
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#4C42CC
secondary
#CED397
accent
#E147D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C42CC

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

Preview Lab → · Contrast checker → · Palette generator →

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