#4839CA#4839CA

#4839CA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.213 H 278.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4839CA
RGBrgb(72, 57, 202)
HSLhsl(246, 58%, 51%)
HSVhsv(246, 72%, 79%)
CMYKcmyk(64.4%, 71.8%, 0%, 20.8%)
CIE-LABlab(35.14, 48.53, -72.78)
CIE-LCHlch(35.14, 87.48, 303.70°)
OKLaboklab(46.18% 0.0321 -0.2101)
OKLCHoklch(46.18% 0.213 278.7)
XYZxyz(14.7929, 8.5670, 56.7397)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839CA #BBCA39
analogous
#3972CA #4839CA #9039CA
triadic
#4839CA #CA4839 #39CA48
tetradic
#4839CA #CA3972 #BBCA39 #39CA90
square
#4839CA #CA3972 #BBCA39 #39CA90
split-complementary
#4839CA #CA9039 #72CA39
monochromatic
#251D6C #362A9C #4839CA #7569D7 #A19AE4

Accessibility & contrast

On white

7.74
#4839CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4839CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839CA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839CA#FFFFFF#000000##FFFFFF
##4839CA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4839ca;
/* rgb */ color: rgb(72, 57, 202);
/* oklch */ color: oklch(46.2% 0.213 278.7);
Tailwind
colors: {
  custom: {
    50: '#8b72db',
    500: '#4839ca',
    950: '#000000',
  },
}
SCSS
$custom: #4839ca;
$custom-light: #8b72db;
$custom-dark: #000000;
JSON
{
  "hex": "#4839ca",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 246.207,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.21251,
    "h": 278.7
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#4839CA
secondary
#C9D08F
accent
#E147D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4839CA

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

Preview Lab → · Contrast checker → · Palette generator →

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