#4C42CA#4C42CA

#4C42CA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.202 H 278.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4C42CA
RGBrgb(76, 66, 202)
HSLhsl(244, 56%, 53%)
HSVhsv(244, 67%, 79%)
CMYKcmyk(62.4%, 67.3%, 0%, 20.8%)
CIE-LABlab(37.29, 43.97, -69.23)
CIE-LCHlch(37.29, 82.01, 302.42°)
OKLaboklab(47.8% 0.0309 -0.1996)
OKLCHoklch(47.8% 0.202 278.8)
XYZxyz(15.5860, 9.6960, 56.9158)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42CA #C0CA42
analogous
#427CCA #4C42CA #9042CA
triadic
#4C42CA #CA4C42 #42CA4C
tetradic
#4C42CA #CA427C #C0CA42 #42CA90
square
#4C42CA #CA427C #C0CA42 #42CA90
split-complementary
#4C42CA #CA9042 #7CCA42
monochromatic
#262072 #362DA2 #4C42CA #7972D7 #A7A2E5

Accessibility & contrast

On white

7.14
#4C42CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4C42CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C42CA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42CA#FFFFFF#000000##FFFFFF
##4C42CA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c42ca;
/* rgb */ color: rgb(76, 66, 202);
/* oklch */ color: oklch(47.8% 0.202 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c77db',
    500: '#4c42ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c42ca;
$custom-light: #8c77db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42ca",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 244.412,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.20196,
    "h": 278.8
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#4C42CA
secondary
#CDD196
accent
#DF48D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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