#4842C8#4842C8

#4842C8 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.200 H 277.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4842C8
RGBrgb(72, 66, 200)
HSLhsl(243, 55%, 52%)
HSVhsv(243, 67%, 78%)
CMYKcmyk(64%, 67%, 0%, 21.6%)
CIE-LABlab(36.82, 42.77, -68.84)
CIE-LCHlch(36.82, 81.05, 301.85°)
OKLaboklab(47.33% 0.0261 -0.1986)
OKLCHoklch(47.33% 0.2 277.5)
XYZxyz(15.0427, 9.4430, 55.6624)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842C8 #C2C842
analogous
#427FC8 #4842C8 #8B42C8
triadic
#4842C8 #C84842 #42C848
tetradic
#4842C8 #C8427F #C2C842 #42C88B
square
#4842C8 #C8427F #C2C842 #42C88B
split-complementary
#4842C8 #C88B42 #7FC842
monochromatic
#24206F #332E9F #4842C8 #7671D6 #A4A1E4

Accessibility & contrast

On white

7.27
#4842C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4842C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4842C8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842C8#FFFFFF#000000##FFFFFF
##4842C81.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4842c8;
/* rgb */ color: rgb(72, 66, 200);
/* oklch */ color: oklch(47.3% 0.200 277.5);
Tailwind
colors: {
  custom: {
    50: '#8a77da',
    500: '#4842c8',
    950: '#000000',
  },
}
SCSS
$custom: #4842c8;
$custom-light: #8a77da;
$custom-dark: #000000;
JSON
{
  "hex": "#4842c8",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 242.687,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.20029,
    "h": 277.5
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#4842C8
secondary
#CED096
accent
#DE4AD8
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4842C8

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

Preview Lab → · Contrast checker → · Palette generator →

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