#4B42E1#4B42E1

#4B42E1 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.230 H 276.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4B42E1
RGBrgb(75, 66, 225)
HSLhsl(243, 73%, 57%)
HSVhsv(243, 71%, 88%)
CMYKcmyk(66.7%, 70.7%, 0%, 11.8%)
CIE-LABlab(39.29, 51.12, -79.19)
CIE-LCHlch(39.29, 94.26, 302.85°)
OKLaboklab(49.84% 0.0261 -0.2288)
OKLCHoklch(49.84% 0.23 276.5)
XYZxyz(18.4360, 10.8269, 72.3378)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42E1 #D8E142
analogous
#4289E1 #4B42E1 #9A42E1
triadic
#4B42E1 #E14B42 #42E14B
tetradic
#4B42E1 #E14289 #D8E142 #42E19A
square
#4B42E1 #E14289 #D8E142 #42E19A
split-complementary
#4B42E1 #E19A42 #89E142
monochromatic
#1E1792 #291FC6 #4B42E1 #7D77E9 #B0ACF2

Accessibility & contrast

On white

6.63
#4B42E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4B42E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42E1
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42E1#FFFFFF#000000##FFFFFF
##4B42E11.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E6
Deuteranopia (green-blind)
#0056DE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b42e1;
/* rgb */ color: rgb(75, 66, 225);
/* oklch */ color: oklch(49.8% 0.230 276.5);
Tailwind
colors: {
  custom: {
    50: '#9078ec',
    500: '#4b42e1',
    950: '#000000',
  },
}
SCSS
$custom: #4b42e1;
$custom-light: #9078ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42e1",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 243.396,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.23026,
    "h": 276.5
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#4B42E1
secondary
#DCE09F
accent
#EF38E5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B42E1

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

Preview Lab → · Contrast checker → · Palette generator →

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