#4839D2#4839D2

#4839D2 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.9% C 0.222 H 277.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4839D2
RGBrgb(72, 57, 210)
HSLhsl(246, 63%, 52%)
HSVhsv(246, 73%, 82%)
CMYKcmyk(65.7%, 72.9%, 0%, 17.6%)
CIE-LABlab(35.90, 51.01, -76.16)
CIE-LCHlch(35.90, 91.67, 303.81°)
OKLaboklab(46.95% 0.0306 -0.22)
OKLCHoklch(46.95% 0.222 277.9)
XYZxyz(15.7647, 8.9558, 61.8581)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839D2 #C3D239
analogous
#3977D2 #4839D2 #9439D2
triadic
#4839D2 #D24839 #39D248
tetradic
#4839D2 #D23977 #C3D239 #39D294
square
#4839D2 #D23977 #C3D239 #39D294
split-complementary
#4839D2 #D29439 #77D239
monochromatic
#241B76 #3326A8 #4839D2 #766BDD #A49DE9

Accessibility & contrast

On white

7.52
#4839D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4839D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839D2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839D2#FFFFFF#000000##FFFFFF
##4839D21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD6
Deuteranopia (green-blind)
#004ECF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4839d2;
/* rgb */ color: rgb(72, 57, 210);
/* oklch */ color: oklch(46.9% 0.222 277.9);
Tailwind
colors: {
  custom: {
    50: '#8c72e1',
    500: '#4839d2',
    950: '#000000',
  },
}
SCSS
$custom: #4839d2;
$custom-light: #8c72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4839d2",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 245.882,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.22207,
    "h": 277.9
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#4839D2
secondary
#CED592
accent
#E642D6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4839D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4839D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva