#4842CE#4842CE

#4842CE is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.208 H 277.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4842CE
RGBrgb(72, 66, 206)
HSLhsl(243, 59%, 53%)
HSVhsv(243, 68%, 81%)
CMYKcmyk(65%, 68%, 0%, 19.2%)
CIE-LABlab(37.35, 44.71, -71.46)
CIE-LCHlch(37.35, 84.30, 302.03°)
OKLaboklab(47.87% 0.0253 -0.2062)
OKLCHoklch(47.87% 0.208 277)
XYZxyz(15.7577, 9.7290, 59.4280)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4842CE #C8CE42
analogous
#4282CE #4842CE #8E42CE
triadic
#4842CE #CE4842 #42CE48
tetradic
#4842CE #CE4282 #C8CE42 #42CE8E
square
#4842CE #CE4282 #C8CE42 #42CE8E
split-complementary
#4842CE #CE8E42 #82CE42
monochromatic
#231F77 #312BA7 #4842CE #7773DB #A6A3E7

Accessibility & contrast

On white

7.13
#4842CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4842CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4842CE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4842CE#FFFFFF#000000##FFFFFF
##4842CE1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4842ce;
/* rgb */ color: rgb(72, 66, 206);
/* oklch */ color: oklch(47.9% 0.208 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b77de',
    500: '#4842ce',
    950: '#000000',
  },
}
SCSS
$custom: #4842ce;
$custom-light: #8b77de;
$custom-dark: #000000;
JSON
{
  "hex": "#4842ce",
  "rgb": {
    "r": 72,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 242.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.20779,
    "h": 277
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#4842CE
secondary
#D1D498
accent
#E246DB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4842CE

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

Preview Lab → · Contrast checker → · Palette generator →

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