#4A42BD#4A42BD

#4A42BD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.5% C 0.186 H 279.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4A42BD
RGBrgb(74, 66, 189)
HSLhsl(244, 48%, 50%)
HSVhsv(244, 65%, 74%)
CMYKcmyk(60.8%, 65.1%, 0%, 25.9%)
CIE-LABlab(36.03, 39.49, -63.70)
CIE-LCHlch(36.03, 74.95, 301.80°)
OKLaboklab(46.51% 0.0298 -0.1834)
OKLCHoklch(46.51% 0.186 279.2)
XYZxyz(13.9546, 9.0254, 49.1410)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42BD #B5BD42
analogous
#4278BD #4A42BD #8742BD
triadic
#4A42BD #BD4A42 #42BD4A
tetradic
#4A42BD #BD4278 #B5BD42 #42BD87
square
#4A42BD #BD4278 #B5BD42 #42BD87
split-complementary
#4A42BD #BD8742 #78BD42
monochromatic
#262262 #383290 #4A42BD #756FCD #A19DDD

Accessibility & contrast

On white

7.49
#4A42BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4A42BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A42BD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42BD#FFFFFF#000000##FFFFFF
##4A42BD1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a42bd;
/* rgb */ color: rgb(74, 66, 189);
/* oklch */ color: oklch(46.5% 0.186 279.2);
Tailwind
colors: {
  custom: {
    50: '#8977d2',
    500: '#4a42bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a42bd;
$custom-light: #8977d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42bd",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 243.902,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.18585,
    "h": 279.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#4A42BD
secondary
#C5C992
accent
#D850CF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4A42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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