#4A42CD#4A42CD

#4A42CD is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 47.9% C 0.206 H 277.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4A42CD
RGBrgb(74, 66, 205)
HSLhsl(243, 58%, 53%)
HSVhsv(243, 68%, 80%)
CMYKcmyk(63.9%, 67.8%, 0%, 19.6%)
CIE-LABlab(37.41, 44.65, -70.79)
CIE-LCHlch(37.41, 83.69, 302.25°)
OKLaboklab(47.92% 0.0279 -0.2042)
OKLCHoklch(47.92% 0.206 277.8)
XYZxyz(15.7881, 9.7588, 58.7974)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42CD #C5CD42
analogous
#427FCD #4A42CD #8F42CD
triadic
#4A42CD #CD4A42 #42CD4A
tetradic
#4A42CD #CD427F #C5CD42 #42CD8F
square
#4A42CD #CD427F #C5CD42 #42CD8F
split-complementary
#4A42CD #CD8F42 #7FCD42
monochromatic
#241F76 #332CA6 #4A42CD #7872DA #A7A3E7

Accessibility & contrast

On white

7.11
#4A42CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A42CD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42CD#FFFFFF#000000##FFFFFF
##4A42CD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a42cd;
/* rgb */ color: rgb(74, 66, 205);
/* oklch */ color: oklch(47.9% 0.206 277.8);
Tailwind
colors: {
  custom: {
    50: '#8c77dd',
    500: '#4a42cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a42cd;
$custom-light: #8c77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42cd",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 243.453,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.20611,
    "h": 277.8
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#4A42CD
secondary
#D0D397
accent
#E146D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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