#4B42BC#4B42BC

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

Color values

HEX#4B42BC
RGBrgb(75, 66, 188)
HSLhsl(244, 48%, 50%)
HSVhsv(244, 65%, 74%)
CMYKcmyk(60.1%, 64.9%, 0%, 26.3%)
CIE-LABlab(36.03, 39.33, -63.12)
CIE-LCHlch(36.03, 74.37, 301.93°)
OKLaboklab(46.5% 0.0312 -0.1817)
OKLCHoklch(46.5% 0.184 279.7)
XYZxyz(13.9241, 9.0221, 48.5749)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42BC #B3BC42
analogous
#4276BC #4B42BC #8842BC
triadic
#4B42BC #BC4B42 #42BC4B
tetradic
#4B42BC #BC4276 #B3BC42 #42BC88
square
#4B42BC #BC4276 #B3BC42 #42BC88
split-complementary
#4B42BC #BC8842 #76BC42
monochromatic
#272261 #39328F #4B42BC #766FCC #A19CDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B42BC#FFFFFF#000000##FFFFFF
##4B42BC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4b42bc;
/* rgb */ color: rgb(75, 66, 188);
/* oklch */ color: oklch(46.5% 0.184 279.7);
Tailwind
colors: {
  custom: {
    50: '#8977d1',
    500: '#4b42bc',
    950: '#000000',
  },
}
SCSS
$custom: #4b42bc;
$custom-light: #8977d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42bc",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 244.426,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.18437,
    "h": 279.7
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#4B42BC
secondary
#C4C991
accent
#D850CE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4B42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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