#4842CC#4842CC

#4842CC is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.205 H 277.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4842CC
RGBrgb(72, 66, 204)
HSLhsl(243, 58%, 53%)
HSVhsv(243, 68%, 80%)
CMYKcmyk(64.7%, 67.6%, 0%, 20%)
CIE-LABlab(37.17, 44.07, -70.59)
CIE-LCHlch(37.17, 83.22, 301.97°)
OKLaboklab(47.69% 0.0256 -0.2037)
OKLCHoklch(47.69% 0.205 277.2)
XYZxyz(15.5162, 9.6325, 58.1566)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842CC #C6CC42
analogous
#4281CC #4842CC #8D42CC
triadic
#4842CC #CC4842 #42CC48
tetradic
#4842CC #CC4281 #C6CC42 #42CC8D
square
#4842CC #CC4281 #C6CC42 #42CC8D
split-complementary
#4842CC #CC8D42 #81CC42
monochromatic
#231F74 #322CA4 #4842CC #7772D9 #A5A2E6

Accessibility & contrast

On white

7.18
#4842CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4842CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4842CC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842CC#FFFFFF#000000##FFFFFF
##4842CC1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4842cc;
/* rgb */ color: rgb(72, 66, 204);
/* oklch */ color: oklch(47.7% 0.205 277.2);
Tailwind
colors: {
  custom: {
    50: '#8b77dd',
    500: '#4842cc',
    950: '#000000',
  },
}
SCSS
$custom: #4842cc;
$custom-light: #8b77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4842cc",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 242.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.2053,
    "h": 277.2
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#4842CC
secondary
#D0D397
accent
#E147DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4842CC

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

Preview Lab → · Contrast checker → · Palette generator →

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