#4B42E3#4B42E3

#4B42E3 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.0% C 0.233 H 276.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4B42E3
RGBrgb(75, 66, 227)
HSLhsl(243, 74%, 57%)
HSVhsv(243, 71%, 89%)
CMYKcmyk(67%, 70.9%, 0%, 11%)
CIE-LABlab(39.47, 51.75, -80.03)
CIE-LCHlch(39.47, 95.30, 302.89°)
OKLaboklab(50.03% 0.0258 -0.2312)
OKLCHoklch(50.03% 0.233 276.4)
XYZxyz(18.7105, 10.9367, 73.7831)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B42E3 #DAE342
analogous
#428AE3 #4B42E3 #9C42E3
triadic
#4B42E3 #E34B42 #42E34B
tetradic
#4B42E3 #E3428A #DAE342 #42E39C
square
#4B42E3 #E3428A #DAE342 #42E39C
split-complementary
#4B42E3 #E39C42 #8AE342
monochromatic
#1D1695 #281ECA #4B42E3 #7E77EB #B1ADF3

Accessibility & contrast

On white

6.59
#4B42E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4B42E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B42E3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B42E3#FFFFFF#000000##FFFFFF
##4B42E31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0056E0
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4b42e3;
/* rgb */ color: rgb(75, 66, 227);
/* oklch */ color: oklch(50.0% 0.233 276.4);
Tailwind
colors: {
  custom: {
    50: '#9078ed',
    500: '#4b42e3',
    950: '#000000',
  },
}
SCSS
$custom: #4b42e3;
$custom-light: #9078ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4b42e3",
  "rgb": {
    "r": 75,
    "g": 66,
    "b": 227
  },
  "hsl": {
    "h": 243.354,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50031,
    "c": 0.23264,
    "h": 276.4
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#4B42E3
secondary
#DDE1A0
accent
#F137E6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4B42E3

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

Preview Lab → · Contrast checker → · Palette generator →

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