#4839D1#4839D1

#4839D1 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.221 H 278.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4839D1
RGBrgb(72, 57, 209)
HSLhsl(246, 62%, 52%)
HSVhsv(246, 73%, 82%)
CMYKcmyk(65.6%, 72.7%, 0%, 18%)
CIE-LABlab(35.80, 50.71, -75.74)
CIE-LCHlch(35.80, 91.15, 303.80°)
OKLaboklab(46.85% 0.0308 -0.2187)
OKLCHoklch(46.85% 0.221 278)
XYZxyz(15.6405, 8.9061, 61.2041)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839D1 #C2D139
analogous
#3976D1 #4839D1 #9439D1
triadic
#4839D1 #D14839 #39D148
tetradic
#4839D1 #D13976 #C2D139 #39D194
square
#4839D1 #D13976 #C2D139 #39D194
split-complementary
#4839D1 #D19439 #76D139
monochromatic
#241B75 #3327A6 #4839D1 #766BDD #A49CE8

Accessibility & contrast

On white

7.55
#4839D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4839D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839D1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839D1#FFFFFF#000000##FFFFFF
##4839D11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4839d1;
/* rgb */ color: rgb(72, 57, 209);
/* oklch */ color: oklch(46.9% 0.221 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c72e0',
    500: '#4839d1',
    950: '#000000',
  },
}
SCSS
$custom: #4839d1;
$custom-light: #8c72e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4839d1",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 245.921,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.22088,
    "h": 278
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#4839D1
secondary
#CED492
accent
#E542D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4839D1

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

Preview Lab → · Contrast checker → · Palette generator →

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