#4B42BB#4B42BB

#4B42BB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.4% C 0.183 H 279.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4B42BB
RGBrgb(75, 66, 187)
HSLhsl(244, 48%, 50%)
HSVhsv(244, 65%, 73%)
CMYKcmyk(59.9%, 64.7%, 0%, 26.7%)
CIE-LABlab(35.94, 39.00, -62.67)
CIE-LCHlch(35.94, 73.81, 301.90°)
OKLaboklab(46.41% 0.0313 -0.1804)
OKLCHoklch(46.41% 0.183 279.8)
XYZxyz(13.8167, 8.9792, 48.0091)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42BB #B2BB42
analogous
#4276BB #4B42BB #8842BB
triadic
#4B42BB #BB4B42 #42BB4B
tetradic
#4B42BB #BB4276 #B2BB42 #42BB88
square
#4B42BB #BB4276 #B2BB42 #42BB88
split-complementary
#4B42BB #BB8842 #76BB42
monochromatic
#272261 #39328E #4B42BB #756ECC #A09CDC

Accessibility & contrast

On white

7.51
#4B42BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4B42BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42BB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42BB#FFFFFF#000000##FFFFFF
##4B42BB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b42bb;
/* rgb */ color: rgb(75, 66, 187);
/* oklch */ color: oklch(46.4% 0.183 279.8);
Tailwind
colors: {
  custom: {
    50: '#8977d0',
    500: '#4b42bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b42bb;
$custom-light: #8977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42bb",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 244.463,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.18308,
    "h": 279.8
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#4B42BB
secondary
#C4C891
accent
#D750CD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4B42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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