#4A42BB#4A42BB

#4A42BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.183 H 279.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4A42BB
RGBrgb(74, 66, 187)
HSLhsl(244, 48%, 50%)
HSVhsv(244, 65%, 73%)
CMYKcmyk(60.4%, 64.7%, 0%, 26.7%)
CIE-LABlab(35.87, 38.84, -62.80)
CIE-LCHlch(35.87, 73.84, 301.74°)
OKLaboklab(46.33% 0.03 -0.1808)
OKLCHoklch(46.33% 0.183 279.4)
XYZxyz(13.7390, 8.9391, 48.0055)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42BB #B3BB42
analogous
#4277BB #4A42BB #8742BB
triadic
#4A42BB #BB4A42 #42BB4A
tetradic
#4A42BB #BB4277 #B3BB42 #42BB87
square
#4A42BB #BB4277 #B3BB42 #42BB87
split-complementary
#4A42BB #BB8742 #77BB42
monochromatic
#262261 #38328E #4A42BB #746ECC #A09CDC

Accessibility & contrast

On white

7.53
#4A42BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A42BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42BB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42BB#FFFFFF#000000##FFFFFF
##4A42BB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a42bb;
/* rgb */ color: rgb(74, 66, 187);
/* oklch */ color: oklch(46.3% 0.183 279.4);
Tailwind
colors: {
  custom: {
    50: '#8877d0',
    500: '#4a42bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a42bb;
$custom-light: #8877d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42bb",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 243.967,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.18326,
    "h": 279.4
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#4A42BB
secondary
#C4C891
accent
#D750CE
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4A42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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