#4839CC#4839CC

#4839CC is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.215 H 278.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4839CC
RGBrgb(72, 57, 204)
HSLhsl(246, 59%, 51%)
HSVhsv(246, 72%, 80%)
CMYKcmyk(64.7%, 72.1%, 0%, 20%)
CIE-LABlab(35.33, 49.16, -73.63)
CIE-LCHlch(35.33, 88.53, 303.73°)
OKLaboklab(46.37% 0.0317 -0.2126)
OKLCHoklch(46.37% 0.215 278.5)
XYZxyz(15.0312, 8.6624, 57.9949)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839CC #BDCC39
analogous
#3973CC #4839CC #9139CC
triadic
#4839CC #CC4839 #39CC48
tetradic
#4839CC #CC3973 #BDCC39 #39CC91
square
#4839CC #CC3973 #BDCC39 #39CC91
split-complementary
#4839CC #CC9139 #73CC39
monochromatic
#251C6E #35299F #4839CC #756AD9 #A29AE5

Accessibility & contrast

On white

7.68
#4839CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4839CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839CC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839CC#FFFFFF#000000##FFFFFF
##4839CC1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4839cc;
/* rgb */ color: rgb(72, 57, 204);
/* oklch */ color: oklch(46.4% 0.215 278.5);
Tailwind
colors: {
  custom: {
    50: '#8b72dd',
    500: '#4839cc',
    950: '#000000',
  },
}
SCSS
$custom: #4839cc;
$custom-light: #8b72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4839cc",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 246.122,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.21492,
    "h": 278.5
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#4839CC
secondary
#CAD190
accent
#E246D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4839CC

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

Preview Lab → · Contrast checker → · Palette generator →

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