#4A42DD#4A42DD

#4A42DD is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.226 H 276.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4A42DD
RGBrgb(74, 66, 221)
HSLhsl(243, 70%, 56%)
HSVhsv(243, 70%, 87%)
CMYKcmyk(66.5%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.85, 49.75, -77.63)
CIE-LCHlch(38.85, 92.20, 302.65°)
OKLaboklab(49.4% 0.0256 -0.2242)
OKLCHoklch(49.4% 0.226 276.5)
XYZxyz(17.8191, 10.5712, 69.4940)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42DD #D5DD42
analogous
#4288DD #4A42DD #9842DD
triadic
#4A42DD #DD4A42 #42DD4A
tetradic
#4A42DD #DD4288 #D5DD42 #42DD98
square
#4A42DD #DD4288 #D5DD42 #42DD98
split-complementary
#4A42DD #DD9842 #88DD42
monochromatic
#1F198C #2B22BF #4A42DD #7C76E6 #ADAAF0

Accessibility & contrast

On white

6.74
#4A42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4A42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42DD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42DD#FFFFFF#000000##FFFFFF
##4A42DD1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0055DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a42dd;
/* rgb */ color: rgb(74, 66, 221);
/* oklch */ color: oklch(49.4% 0.226 276.5);
Tailwind
colors: {
  custom: {
    50: '#8f78e9',
    500: '#4a42dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a42dd;
$custom-light: #8f78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42dd",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 243.097,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.22568,
    "h": 276.5
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#4A42DD
secondary
#DADD9D
accent
#EC3BE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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