#4B42E4#4B42E4

#4B42E4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.234 H 276.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4B42E4
RGBrgb(75, 66, 228)
HSLhsl(243, 75%, 58%)
HSVhsv(243, 71%, 89%)
CMYKcmyk(67.1%, 71.1%, 0%, 10.6%)
CIE-LABlab(39.57, 52.06, -80.44)
CIE-LCHlch(39.57, 95.82, 302.91°)
OKLaboklab(50.13% 0.0256 -0.2324)
OKLCHoklch(50.13% 0.234 276.3)
XYZxyz(18.8489, 10.9920, 74.5121)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42E4 #DBE442
analogous
#428AE4 #4B42E4 #9C42E4
triadic
#4B42E4 #E44B42 #42E44B
tetradic
#4B42E4 #E4428A #DBE442 #42E49C
square
#4B42E4 #E4428A #DBE442 #42E49C
split-complementary
#4B42E4 #E49C42 #8AE442
monochromatic
#1D1596 #271DCC #4B42E4 #7E78EC #B1ADF3

Accessibility & contrast

On white

6.56
#4B42E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4B42E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42E4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42E4#FFFFFF#000000##FFFFFF
##4B42E41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E9
Deuteranopia (green-blind)
#0056E1
Tritanopia (blue-blind)
#006F8F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b42e4;
/* rgb */ color: rgb(75, 66, 228);
/* oklch */ color: oklch(50.1% 0.234 276.3);
Tailwind
colors: {
  custom: {
    50: '#9178ee',
    500: '#4b42e4',
    950: '#000000',
  },
}
SCSS
$custom: #4b42e4;
$custom-light: #9178ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42e4",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 228
  },
  "hsl": {
    "h": 243.333,
    "s": 75,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.23382,
    "h": 276.3
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#4B42E4
secondary
#DEE2A0
accent
#F236E7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4B42E4

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

Preview Lab → · Contrast checker → · Palette generator →

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