#4B42EB#4B42EB

#4B42EB is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.8% C 0.242 H 275.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4B42EB
RGBrgb(75, 66, 235)
HSLhsl(243, 81%, 59%)
HSVhsv(243, 72%, 92%)
CMYKcmyk(68.1%, 71.9%, 0%, 7.8%)
CIE-LABlab(40.23, 54.24, -83.33)
CIE-LCHlch(40.23, 99.43, 303.06°)
OKLaboklab(50.8% 0.0244 -0.2408)
OKLCHoklch(50.8% 0.242 275.8)
XYZxyz(19.8403, 11.3886, 79.7338)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42EB #E2EB42
analogous
#428EEB #4B42EB #A042EB
triadic
#4B42EB #EB4B42 #42EB4B
tetradic
#4B42EB #EB428E #E2EB42 #42EBA0
square
#4B42EB #EB428E #E2EB42 #42EBA0
split-complementary
#4B42EB #EBA042 #8EEB42
monochromatic
#1911A2 #2117D9 #4B42EB #8079F1 #B4B1F7

Accessibility & contrast

On white

6.41
#4B42EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4B42EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42EB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42EB#FFFFFF#000000##FFFFFF
##4B42EB1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F0
Deuteranopia (green-blind)
#0057E8
Tritanopia (blue-blind)
#007293
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b42eb;
/* rgb */ color: rgb(75, 66, 235);
/* oklch */ color: oklch(50.8% 0.242 275.8);
Tailwind
colors: {
  custom: {
    50: '#9279f3',
    500: '#4b42eb',
    950: '#000000',
  },
}
SCSS
$custom: #4b42eb;
$custom-light: #9279f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42eb",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 235
  },
  "hsl": {
    "h": 243.195,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.24206,
    "h": 275.8
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#4B42EB
secondary
#E2E6A3
accent
#F731ED
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4B42EB

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

Preview Lab → · Contrast checker → · Palette generator →

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