#4A42EA#4A42EA

#4A42EA is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.241 H 275.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4A42EA
RGBrgb(74, 66, 234)
HSLhsl(243, 80%, 59%)
HSVhsv(243, 72%, 92%)
CMYKcmyk(68.4%, 71.8%, 0%, 8.2%)
CIE-LABlab(40.07, 53.83, -83.03)
CIE-LCHlch(40.07, 98.95, 302.96°)
OKLaboklab(50.63% 0.0234 -0.24)
OKLCHoklch(50.63% 0.241 275.6)
XYZxyz(19.6187, 11.2910, 78.9714)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42EA #E2EA42
analogous
#428EEA #4A42EA #9E42EA
triadic
#4A42EA #EA4A42 #42EA4A
tetradic
#4A42EA #EA428E #E2EA42 #42EA9E
square
#4A42EA #EA428E #E2EA42 #42EA9E
split-complementary
#4A42EA #EA9E42 #8EEA42
monochromatic
#1912A0 #2118D7 #4A42EA #7F79F0 #B3B0F6

Accessibility & contrast

On white

6.44
#4A42EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4A42EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42EA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42EA#FFFFFF#000000##FFFFFF
##4A42EA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EF
Deuteranopia (green-blind)
#0057E7
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a42ea;
/* rgb */ color: rgb(74, 66, 234);
/* oklch */ color: oklch(50.6% 0.241 275.6);
Tailwind
colors: {
  custom: {
    50: '#9178f2',
    500: '#4a42ea',
    950: '#000000',
  },
}
SCSS
$custom: #4a42ea;
$custom-light: #9178f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42ea",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 242.857,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.50634,
    "c": 0.24113,
    "h": 275.6
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#4A42EA
secondary
#E2E5A3
accent
#F631ED
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4A42EA

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

Preview Lab → · Contrast checker → · Palette generator →

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