#4B42CE#4B42CE

#4B42CE is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.207 H 278.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4B42CE
RGBrgb(75, 66, 206)
HSLhsl(244, 59%, 53%)
HSVhsv(244, 68%, 81%)
CMYKcmyk(63.6%, 68%, 0%, 19.2%)
CIE-LABlab(37.57, 45.11, -71.10)
CIE-LCHlch(37.57, 84.20, 302.39°)
OKLaboklab(48.09% 0.0291 -0.2051)
OKLCHoklch(48.09% 0.207 278.1)
XYZxyz(15.9869, 9.8472, 59.4388)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42CE #C5CE42
analogous
#427FCE #4B42CE #9142CE
triadic
#4B42CE #CE4B42 #42CE4B
tetradic
#4B42CE #CE427F #C5CE42 #42CE91
square
#4B42CE #CE427F #C5CE42 #42CE91
split-complementary
#4B42CE #CE9142 #7FCE42
monochromatic
#241F77 #332BA7 #4B42CE #7973DB #A8A3E7

Accessibility & contrast

On white

7.07
#4B42CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4B42CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B42CE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42CE#FFFFFF#000000##FFFFFF
##4B42CE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4b42ce;
/* rgb */ color: rgb(75, 66, 206);
/* oklch */ color: oklch(48.1% 0.207 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c78de',
    500: '#4b42ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b42ce;
$custom-light: #8c78de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42ce",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 243.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48085,
    "c": 0.20715,
    "h": 278.1
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#4B42CE
secondary
#D0D498
accent
#E246D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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