#4842D4#4842D4

#4842D4 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.215 H 276.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4842D4
RGBrgb(72, 66, 212)
HSLhsl(242, 63%, 55%)
HSVhsv(242, 69%, 83%)
CMYKcmyk(66%, 68.9%, 0%, 16.9%)
CIE-LABlab(37.89, 46.64, -74.04)
CIE-LCHlch(37.89, 87.51, 302.21°)
OKLaboklab(48.43% 0.0245 -0.2138)
OKLCHoklch(48.43% 0.215 276.5)
XYZxyz(16.5005, 10.0262, 63.3403)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842D4 #CED442
analogous
#4285D4 #4842D4 #9142D4
triadic
#4842D4 #D44842 #42D448
tetradic
#4842D4 #D44285 #CED442 #42D491
square
#4842D4 #D44285 #CED442 #42D491
split-complementary
#4842D4 #D49142 #85D442
monochromatic
#211D7F #2E28B1 #4842D4 #7874DF #A9A6EB

Accessibility & contrast

On white

6.99
#4842D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4842D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4842D4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842D4#FFFFFF#000000##FFFFFF
##4842D41.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4842d4;
/* rgb */ color: rgb(72, 66, 212);
/* oklch */ color: oklch(48.4% 0.215 276.5);
Tailwind
colors: {
  custom: {
    50: '#8c78e2',
    500: '#4842d4',
    950: '#000000',
  },
}
SCSS
$custom: #4842d4;
$custom-light: #8c78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4842d4",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 212
  },
  "hsl": {
    "h": 242.466,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.2152,
    "h": 276.5
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#4842D4
secondary
#D5D89A
accent
#E642DF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4842D4

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

Preview Lab → · Contrast checker → · Palette generator →

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