#4839CB#4839CB

#4839CB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.3% C 0.214 H 278.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4839CB
RGBrgb(72, 57, 203)
HSLhsl(246, 58%, 51%)
HSVhsv(246, 72%, 80%)
CMYKcmyk(64.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(35.23, 48.84, -73.20)
CIE-LCHlch(35.23, 88.00, 303.71°)
OKLaboklab(46.27% 0.0319 -0.2113)
OKLCHoklch(46.27% 0.214 278.6)
XYZxyz(14.9116, 8.6146, 57.3653)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839CB #BCCB39
analogous
#3973CB #4839CB #9139CB
triadic
#4839CB #CB4839 #39CB48
tetradic
#4839CB #CB3973 #BCCB39 #39CB91
square
#4839CB #CB3973 #BCCB39 #39CB91
split-complementary
#4839CB #CB9139 #73CB39
monochromatic
#251D6D #35299D #4839CB #7569D8 #A29AE4

Accessibility & contrast

On white

7.71
#4839CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4839CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839CB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839CB#FFFFFF#000000##FFFFFF
##4839CB1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4839cb;
/* rgb */ color: rgb(72, 57, 203);
/* oklch */ color: oklch(46.3% 0.214 278.6);
Tailwind
colors: {
  custom: {
    50: '#8b72dc',
    500: '#4839cb',
    950: '#000000',
  },
}
SCSS
$custom: #4839cb;
$custom-light: #8b72dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4839cb",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 246.164,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.21372,
    "h": 278.6
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4839CB

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

Preview Lab → · Contrast checker → · Palette generator →

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