#4839D0#4839D0

#4839D0 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.220 H 278.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4839D0
RGBrgb(72, 57, 208)
HSLhsl(246, 62%, 52%)
HSVhsv(246, 73%, 82%)
CMYKcmyk(65.4%, 72.6%, 0%, 18.4%)
CIE-LABlab(35.71, 50.40, -75.32)
CIE-LCHlch(35.71, 90.63, 303.79°)
OKLaboklab(46.75% 0.031 -0.2175)
OKLCHoklch(46.75% 0.22 278.1)
XYZxyz(15.5171, 8.8567, 60.5541)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839D0 #C1D039
analogous
#3976D0 #4839D0 #9339D0
triadic
#4839D0 #D04839 #39D048
tetradic
#4839D0 #D03976 #C1D039 #39D093
square
#4839D0 #D03976 #C1D039 #39D093
split-complementary
#4839D0 #D09339 #76D039
monochromatic
#241B73 #3427A5 #4839D0 #766ADC #A39CE7

Accessibility & contrast

On white

7.58
#4839D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4839D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839D0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839D0#FFFFFF#000000##FFFFFF
##4839D01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#004ECD
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4839d0;
/* rgb */ color: rgb(72, 57, 208);
/* oklch */ color: oklch(46.8% 0.220 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c72e0',
    500: '#4839d0',
    950: '#000000',
  },
}
SCSS
$custom: #4839d0;
$custom-light: #8c72e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4839d0",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 245.96,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46754,
    "c": 0.21969,
    "h": 278.1
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#4839D0
secondary
#CDD391
accent
#E543D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4839D0

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

Preview Lab → · Contrast checker → · Palette generator →

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