#4839CE#4839CE

#4839CE is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.217 H 278.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4839CE
RGBrgb(72, 57, 206)
HSLhsl(246, 60%, 52%)
HSVhsv(246, 72%, 81%)
CMYKcmyk(65%, 72.3%, 0%, 19.2%)
CIE-LABlab(35.52, 49.78, -74.48)
CIE-LCHlch(35.52, 89.58, 303.76°)
OKLaboklab(46.56% 0.0313 -0.215)
OKLCHoklch(46.56% 0.217 278.3)
XYZxyz(15.2726, 8.7589, 59.2664)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839CE #BFCE39
analogous
#3975CE #4839CE #9339CE
triadic
#4839CE #CE4839 #39CE48
tetradic
#4839CE #CE3975 #BFCE39 #39CE93
square
#4839CE #CE3975 #BFCE39 #39CE93
split-complementary
#4839CE #CE9339 #75CE39
monochromatic
#241C71 #3428A2 #4839CE #756ADA #A39BE6

Accessibility & contrast

On white

7.63
#4839CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4839CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839CE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839CE#FFFFFF#000000##FFFFFF
##4839CE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#004DCB
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4839ce;
/* rgb */ color: rgb(72, 57, 206);
/* oklch */ color: oklch(46.6% 0.217 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c72de',
    500: '#4839ce',
    950: '#000000',
  },
}
SCSS
$custom: #4839ce;
$custom-light: #8c72de;
$custom-dark: #000000;
JSON
{
  "hex": "#4839ce",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 246.04,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46561,
    "c": 0.21731,
    "h": 278.3
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#4839CE
secondary
#CCD291
accent
#E344D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4839CE

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

Preview Lab → · Contrast checker → · Palette generator →

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