#4842E7#4842E7

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

Color values

HEX#4842E7
RGBrgb(72, 66, 231)
HSLhsl(242, 77%, 58%)
HSVhsv(242, 71%, 91%)
CMYKcmyk(68.8%, 71.4%, 0%, 9.4%)
CIE-LABlab(39.65, 52.68, -82.02)
CIE-LCHlch(39.65, 97.48, 302.71°)
OKLaboklab(50.22% 0.0215 -0.2371)
OKLCHoklch(50.22% 0.238 275.2)
XYZxyz(19.0397, 11.0419, 76.7137)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842E7 #E1E742
analogous
#428EE7 #4842E7 #9A42E7
triadic
#4842E7 #E74842 #42E748
tetradic
#4842E7 #E7428E #E1E742 #42E79A
square
#4842E7 #E7428E #E1E742 #42E79A
split-complementary
#4842E7 #E79A42 #8EE742
monochromatic
#19149B #211BD1 #4842E7 #7D78EE #B1AFF5

Accessibility & contrast

On white

6.54
#4842E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4842E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4842E7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842E7#FFFFFF#000000##FFFFFF
##4842E71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.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: #4842e7;
/* rgb */ color: rgb(72, 66, 231);
/* oklch */ color: oklch(50.2% 0.238 275.2);
Tailwind
colors: {
  custom: {
    50: '#9078f0',
    500: '#4842e7',
    950: '#000000',
  },
}
SCSS
$custom: #4842e7;
$custom-light: #9078f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4842e7",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 231
  },
  "hsl": {
    "h": 242.182,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.23805,
    "h": 275.2
  },
  "luminance": 0.11044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4842E7

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

Preview Lab → · Contrast checker → · Palette generator →

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