#4C42CB#4C42CB

#4C42CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.203 H 278.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4C42CB
RGBrgb(76, 66, 203)
HSLhsl(244, 57%, 53%)
HSVhsv(244, 67%, 80%)
CMYKcmyk(62.6%, 67.5%, 0%, 20.4%)
CIE-LABlab(37.38, 44.29, -69.67)
CIE-LCHlch(37.38, 82.55, 302.45°)
OKLaboklab(47.89% 0.0307 -0.2009)
OKLCHoklch(47.89% 0.203 278.7)
XYZxyz(15.7047, 9.7435, 57.5414)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42CB #C1CB42
analogous
#427CCB #4C42CB #9142CB
triadic
#4C42CB #CB4C42 #42CB4C
tetradic
#4C42CB #CB427C #C1CB42 #42CB91
square
#4C42CB #CB427C #C1CB42 #42CB91
split-complementary
#4C42CB #CB9142 #7CCB42
monochromatic
#262073 #352DA3 #4C42CB #7972D8 #A7A2E5

Accessibility & contrast

On white

7.12
#4C42CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C42CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C42CB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42CB#FFFFFF#000000##FFFFFF
##4C42CB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c42cb;
/* rgb */ color: rgb(76, 66, 203);
/* oklch */ color: oklch(47.9% 0.203 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c77dc',
    500: '#4c42cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c42cb;
$custom-light: #8c77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42cb",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 244.38,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.20322,
    "h": 278.7
  },
  "luminance": 0.09745
}

Semantic roles & 50–950 ramp

primary
#4C42CB
secondary
#CED297
accent
#E048D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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