#4A42DA#4A42DA

#4A42DA is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.222 H 276.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4A42DA
RGBrgb(74, 66, 218)
HSLhsl(243, 67%, 56%)
HSVhsv(243, 70%, 85%)
CMYKcmyk(66.1%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.57, 48.80, -76.36)
CIE-LCHlch(38.57, 90.63, 302.58°)
OKLaboklab(49.12% 0.026 -0.2205)
OKLCHoklch(49.12% 0.222 276.7)
XYZxyz(17.4230, 10.4127, 67.4078)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42DA #D2DA42
analogous
#4286DA #4A42DA #9642DA
triadic
#4A42DA #DA4A42 #42DA4A
tetradic
#4A42DA #DA4286 #D2DA42 #42DA96
square
#4A42DA #DA4286 #D2DA42 #42DA96
split-complementary
#4A42DA #DA9642 #86DA42
monochromatic
#201A87 #2C24BA #4A42DA #7B75E4 #ACA8EE

Accessibility & contrast

On white

6.81
#4A42DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4A42DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42DA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42DA#FFFFFF#000000##FFFFFF
##4A42DA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a42da;
/* rgb */ color: rgb(74, 66, 218);
/* oklch */ color: oklch(49.1% 0.222 276.7);
Tailwind
colors: {
  custom: {
    50: '#8e78e7',
    500: '#4a42da',
    950: '#000000',
  },
}
SCSS
$custom: #4a42da;
$custom-light: #8e78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42da",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 243.158,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.22206,
    "h": 276.7
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#4A42DA
secondary
#D8DB9C
accent
#EA3EE1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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