#4742E7#4742E7

#4742E7 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.2% C 0.238 H 274.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4742E7
RGBrgb(71, 66, 231)
HSLhsl(242, 77%, 58%)
HSVhsv(242, 71%, 91%)
CMYKcmyk(69.3%, 71.4%, 0%, 9.4%)
CIE-LABlab(39.59, 52.58, -82.12)
CIE-LCHlch(39.59, 97.51, 302.63°)
OKLaboklab(50.16% 0.0203 -0.2374)
OKLCHoklch(50.16% 0.238 274.9)
XYZxyz(18.9658, 11.0037, 76.7102)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4742E7 #E2E742
analogous
#428FE7 #4742E7 #9942E7
triadic
#4742E7 #E74742 #42E747
tetradic
#4742E7 #E7428F #E2E742 #42E799
square
#4742E7 #E7428F #E2E742 #42E799
split-complementary
#4742E7 #E79942 #8FE742
monochromatic
#18149B #201BD1 #4742E7 #7C78EE #B1AFF5

Accessibility & contrast

On white

6.56
#4742E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4742E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4742E7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4742E7#FFFFFF#000000##FFFFFF
##4742E71.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)
#0065EC
Deuteranopia (green-blind)
#0056E4
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4742e7;
/* rgb */ color: rgb(71, 66, 231);
/* oklch */ color: oklch(50.2% 0.238 274.9);
Tailwind
colors: {
  custom: {
    50: '#9078f0',
    500: '#4742e7',
    950: '#000000',
  },
}
SCSS
$custom: #4742e7;
$custom-light: #9078f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4742e7",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 231
  },
  "hsl": {
    "h": 241.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.23829,
    "h": 274.9
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#4742E7
secondary
#E1E3A2
accent
#F434EE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4742E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4742E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva