#4A42E0#4A42E0

#4A42E0 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.7% C 0.229 H 276.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4A42E0
RGBrgb(74, 66, 224)
HSLhsl(243, 72%, 57%)
HSVhsv(243, 71%, 88%)
CMYKcmyk(67%, 70.5%, 0%, 12.2%)
CIE-LABlab(39.13, 50.70, -78.89)
CIE-LCHlch(39.13, 93.77, 302.73°)
OKLaboklab(49.68% 0.0251 -0.2279)
OKLCHoklch(49.68% 0.229 276.3)
XYZxyz(18.2224, 10.7325, 71.6178)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A42E0 #D8E042
analogous
#4289E0 #4A42E0 #9942E0
triadic
#4A42E0 #E04A42 #42E04A
tetradic
#4A42E0 #E04289 #D8E042 #42E099
square
#4A42E0 #E04289 #D8E042 #42E099
split-complementary
#4A42E0 #E09942 #89E042
monochromatic
#1E1890 #2920C5 #4A42E0 #7C77E9 #AFABF1

Accessibility & contrast

On white

6.67
#4A42E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4A42E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A42E0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A42E0#FFFFFF#000000##FFFFFF
##4A42E01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E5
Deuteranopia (green-blind)
#0055DD
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a42e0;
/* rgb */ color: rgb(74, 66, 224);
/* oklch */ color: oklch(49.7% 0.229 276.3);
Tailwind
colors: {
  custom: {
    50: '#8f78eb',
    500: '#4a42e0',
    950: '#000000',
  },
}
SCSS
$custom: #4a42e0;
$custom-light: #8f78eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a42e0",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 243.038,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.22928,
    "h": 276.3
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#4A42E0
secondary
#DCDF9F
accent
#EF39E5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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