#4842E0#4842E0

#4842E0 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.230 H 275.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4842E0
RGBrgb(72, 66, 224)
HSLhsl(242, 72%, 57%)
HSVhsv(242, 71%, 88%)
CMYKcmyk(67.9%, 70.5%, 0%, 12.2%)
CIE-LABlab(38.99, 50.47, -79.11)
CIE-LCHlch(38.99, 93.84, 302.54°)
OKLaboklab(49.55% 0.0226 -0.2286)
OKLCHoklch(49.55% 0.23 275.7)
XYZxyz(18.0708, 10.6543, 71.6107)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842E0 #DAE042
analogous
#428BE0 #4842E0 #9742E0
triadic
#4842E0 #E04842 #42E048
tetradic
#4842E0 #E0428B #DAE042 #42E097
square
#4842E0 #E0428B #DAE042 #42E097
split-complementary
#4842E0 #E09742 #8BE042
monochromatic
#1C1890 #2620C5 #4842E0 #7B77E9 #AEABF1

Accessibility & contrast

On white

6.71
#4842E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4842E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4842E0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842E0#FFFFFF#000000##FFFFFF
##4842E01.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.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: #4842e0;
/* rgb */ color: rgb(72, 66, 224);
/* oklch */ color: oklch(49.5% 0.230 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f78eb',
    500: '#4842e0',
    950: '#000000',
  },
}
SCSS
$custom: #4842e0;
$custom-light: #8f78eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4842e0",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 242.278,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.4955,
    "c": 0.22973,
    "h": 275.7
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#4842E0
secondary
#DDDF9F
accent
#EF39E8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4842E0

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

Preview Lab → · Contrast checker → · Palette generator →

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