#4A42D4#4A42D4

#4A42D4 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.215 H 277.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4A42D4
RGBrgb(74, 66, 212)
HSLhsl(243, 63%, 55%)
HSVhsv(243, 69%, 83%)
CMYKcmyk(65.1%, 68.9%, 0%, 16.9%)
CIE-LABlab(38.03, 46.89, -73.81)
CIE-LCHlch(38.03, 87.45, 302.43°)
OKLaboklab(48.56% 0.027 -0.2131)
OKLCHoklch(48.56% 0.215 277.2)
XYZxyz(16.6521, 10.1043, 63.3474)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42D4 #CCD442
analogous
#4283D4 #4A42D4 #9342D4
triadic
#4A42D4 #D44A42 #42D44A
tetradic
#4A42D4 #D44283 #CCD442 #42D493
square
#4A42D4 #D44283 #CCD442 #42D493
split-complementary
#4A42D4 #D49342 #83D442
monochromatic
#221D7F #3028B1 #4A42D4 #7A74DF #A9A6EB

Accessibility & contrast

On white

6.95
#4A42D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4A42D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42D4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42D4#FFFFFF#000000##FFFFFF
##4A42D41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a42d4;
/* rgb */ color: rgb(74, 66, 212);
/* oklch */ color: oklch(48.6% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d78e2',
    500: '#4a42d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a42d4;
$custom-light: #8d78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42d4",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 243.288,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.21476,
    "h": 277.2
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#4A42D4
secondary
#D4D89A
accent
#E642DD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A42D4

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

Preview Lab → · Contrast checker → · Palette generator →

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