#4B42EA#4B42EA

#4B42EA is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.7% C 0.241 H 275.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4B42EA
RGBrgb(75, 66, 234)
HSLhsl(243, 80%, 59%)
HSVhsv(243, 72%, 92%)
CMYKcmyk(67.9%, 71.8%, 0%, 8.2%)
CIE-LABlab(40.13, 53.93, -82.92)
CIE-LCHlch(40.13, 98.91, 303.04°)
OKLaboklab(50.7% 0.0246 -0.2396)
OKLCHoklch(50.7% 0.241 275.9)
XYZxyz(19.6963, 11.3310, 78.9751)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42EA #E1EA42
analogous
#428DEA #4B42EA #9F42EA
triadic
#4B42EA #EA4B42 #42EA4B
tetradic
#4B42EA #EA428D #E1EA42 #42EA9F
square
#4B42EA #EA428D #E1EA42 #42EA9F
split-complementary
#4B42EA #EA9F42 #8DEA42
monochromatic
#1912A0 #2218D7 #4B42EA #7F79F0 #B4B0F6

Accessibility & contrast

On white

6.43
#4B42EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4B42EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42EA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42EA#FFFFFF#000000##FFFFFF
##4B42EA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EF
Deuteranopia (green-blind)
#0057E7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b42ea;
/* rgb */ color: rgb(75, 66, 234);
/* oklch */ color: oklch(50.7% 0.241 275.9);
Tailwind
colors: {
  custom: {
    50: '#9278f2',
    500: '#4b42ea',
    950: '#000000',
  },
}
SCSS
$custom: #4b42ea;
$custom-light: #9278f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42ea",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 243.214,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.2409,
    "h": 275.9
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#4B42EA
secondary
#E1E5A3
accent
#F631EC
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4B42EA

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

Preview Lab → · Contrast checker → · Palette generator →

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