#4B42E8#4B42E8

#4B42E8 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.5% C 0.239 H 276.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4B42E8
RGBrgb(75, 66, 232)
HSLhsl(243, 78%, 58%)
HSVhsv(243, 72%, 91%)
CMYKcmyk(67.7%, 71.6%, 0%, 9%)
CIE-LABlab(39.94, 53.31, -82.09)
CIE-LCHlch(39.94, 97.89, 303.00°)
OKLaboklab(50.51% 0.0249 -0.2372)
OKLCHoklch(50.51% 0.239 276)
XYZxyz(19.4106, 11.2167, 77.4704)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42E8 #DFE842
analogous
#428CE8 #4B42E8 #9E42E8
triadic
#4B42E8 #E84B42 #42E84B
tetradic
#4B42E8 #E8428C #DFE842 #42E89E
square
#4B42E8 #E8428C #DFE842 #42E89E
split-complementary
#4B42E8 #E89E42 #8CE842
monochromatic
#1B139D #241AD3 #4B42E8 #7F79EF #B3AFF5

Accessibility & contrast

On white

6.47
#4B42E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4B42E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42E8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42E8#FFFFFF#000000##FFFFFF
##4B42E81.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065ED
Deuteranopia (green-blind)
#0057E5
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4b42e8;
/* rgb */ color: rgb(75, 66, 232);
/* oklch */ color: oklch(50.5% 0.239 276.0);
Tailwind
colors: {
  custom: {
    50: '#9178f1',
    500: '#4b42e8',
    950: '#000000',
  },
}
SCSS
$custom: #4b42e8;
$custom-light: #9178f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42e8",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 232
  },
  "hsl": {
    "h": 243.253,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50507,
    "c": 0.23855,
    "h": 276
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#4B42E8
secondary
#E0E4A2
accent
#F533EA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4B42E8

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

Preview Lab → · Contrast checker → · Palette generator →

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