#4A42CC#4A42CC

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

Color values

HEX#4A42CC
RGBrgb(74, 66, 204)
HSLhsl(243, 58%, 53%)
HSVhsv(243, 68%, 80%)
CMYKcmyk(63.7%, 67.6%, 0%, 20%)
CIE-LABlab(37.32, 44.33, -70.35)
CIE-LCHlch(37.32, 83.16, 302.22°)
OKLaboklab(47.83% 0.0281 -0.2029)
OKLCHoklch(47.83% 0.205 277.9)
XYZxyz(15.6678, 9.7106, 58.1637)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42CC #C4CC42
analogous
#427FCC #4A42CC #8F42CC
triadic
#4A42CC #CC4A42 #42CC4A
tetradic
#4A42CC #CC427F #C4CC42 #42CC8F
square
#4A42CC #CC427F #C4CC42 #42CC8F
split-complementary
#4A42CC #CC8F42 #7FCC42
monochromatic
#241F74 #332CA4 #4A42CC #7872D9 #A6A2E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A42CC#FFFFFF#000000##FFFFFF
##4A42CC1.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)
#005DD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a42cc;
/* rgb */ color: rgb(74, 66, 204);
/* oklch */ color: oklch(47.8% 0.205 277.9);
Tailwind
colors: {
  custom: {
    50: '#8c77dd',
    500: '#4a42cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a42cc;
$custom-light: #8c77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42cc",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 243.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.20487,
    "h": 277.9
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#4A42CC
secondary
#CFD397
accent
#E147D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A42CC

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

Preview Lab → · Contrast checker → · Palette generator →

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