#4B42E9#4B42E9

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

Color values

HEX#4B42E9
RGBrgb(75, 66, 233)
HSLhsl(243, 79%, 59%)
HSVhsv(243, 72%, 91%)
CMYKcmyk(67.8%, 71.7%, 0%, 8.6%)
CIE-LABlab(40.04, 53.62, -82.51)
CIE-LCHlch(40.04, 98.40, 303.02°)
OKLaboklab(50.6% 0.0248 -0.2384)
OKLCHoklch(50.6% 0.24 275.9)
XYZxyz(19.5530, 11.2737, 78.2206)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42E9 #E0E942
analogous
#428CE9 #4B42E9 #9F42E9
triadic
#4B42E9 #E94B42 #42E94B
tetradic
#4B42E9 #E9428C #E0E942 #42E99F
square
#4B42E9 #E9428C #E0E942 #42E99F
split-complementary
#4B42E9 #E99F42 #8CE942
monochromatic
#1A129E #2319D5 #4B42E9 #7F79EF #B3B0F6

Accessibility & contrast

On white

6.45
#4B42E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4B42E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42E9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42E9#FFFFFF#000000##FFFFFF
##4B42E91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EE
Deuteranopia (green-blind)
#0057E6
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b42e9;
/* rgb */ color: rgb(75, 66, 233);
/* oklch */ color: oklch(50.6% 0.240 275.9);
Tailwind
colors: {
  custom: {
    50: '#9278f1',
    500: '#4b42e9',
    950: '#000000',
  },
}
SCSS
$custom: #4b42e9;
$custom-light: #9278f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42e9",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 233
  },
  "hsl": {
    "h": 243.234,
    "s": 79.147,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.23972,
    "h": 275.9
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#4B42E9
secondary
#E1E4A2
accent
#F632EB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4B42E9

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

Preview Lab → · Contrast checker → · Palette generator →

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