#4839B7#4839B7

#4839B7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.4% C 0.189 H 280.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4839B7
RGBrgb(72, 57, 183)
HSLhsl(247, 53%, 47%)
HSVhsv(247, 69%, 72%)
CMYKcmyk(60.7%, 68.9%, 0%, 28.2%)
CIE-LABlab(33.40, 42.57, -64.48)
CIE-LCHlch(33.40, 77.26, 303.43°)
OKLaboklab(44.4% 0.0354 -0.1858)
OKLCHoklch(44.4% 0.189 280.8)
XYZxyz(12.6802, 7.7220, 45.6129)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839B7 #A8B739
analogous
#3969B7 #4839B7 #8739B7
triadic
#4839B7 #B74839 #39B748
tetradic
#4839B7 #B73969 #A8B739 #39B787
square
#4839B7 #B73969 #A8B739 #39B787
split-complementary
#4839B7 #B78739 #69B739
monochromatic
#231C5A #362A88 #4839B7 #6D60CD #988EDC

Accessibility & contrast

On white

8.25
#4839B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4839B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839B7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839B7#FFFFFF#000000##FFFFFF
##4839B71.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4839b7;
/* rgb */ color: rgb(72, 57, 183);
/* oklch */ color: oklch(44.4% 0.189 280.8);
Tailwind
colors: {
  custom: {
    50: '#8771ce',
    500: '#4839b7',
    950: '#000000',
  },
}
SCSS
$custom: #4839b7;
$custom-light: #8771ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4839b7",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 247.143,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.18915,
    "h": 280.8
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#4839B7
secondary
#BFC785
accent
#DC4CCB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0814
muted
#7D7B82

Preview Lab

Preview with #4839B7

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

Preview Lab → · Contrast checker → · Palette generator →

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