#4842DD#4842DD

#4842DD is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.226 H 275.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4842DD
RGBrgb(72, 66, 221)
HSLhsl(242, 70%, 56%)
HSVhsv(242, 70%, 87%)
CMYKcmyk(67.4%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.71, 49.52, -77.86)
CIE-LCHlch(38.71, 92.27, 302.46°)
OKLaboklab(49.27% 0.0231 -0.2249)
OKLCHoklch(49.27% 0.226 275.9)
XYZxyz(17.6676, 10.4930, 69.4869)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842DD #D7DD42
analogous
#428ADD #4842DD #9642DD
triadic
#4842DD #DD4842 #42DD48
tetradic
#4842DD #DD428A #D7DD42 #42DD96
square
#4842DD #DD428A #D7DD42 #42DD96
split-complementary
#4842DD #DD9642 #8ADD42
monochromatic
#1E198C #2922BF #4842DD #7A76E6 #ACAAF0

Accessibility & contrast

On white

6.78
#4842DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4842DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4842DD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842DD#FFFFFF#000000##FFFFFF
##4842DD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0054DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4842dd;
/* rgb */ color: rgb(72, 66, 221);
/* oklch */ color: oklch(49.3% 0.226 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e78e9',
    500: '#4842dd',
    950: '#000000',
  },
}
SCSS
$custom: #4842dd;
$custom-light: #8e78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4842dd",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 242.323,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.22613,
    "h": 275.9
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#4842DD
secondary
#DBDD9D
accent
#EC3BE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4842DD

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

Preview Lab → · Contrast checker → · Palette generator →

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