#4839B5#4839B5

#4839B5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.2% C 0.187 H 281.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4839B5
RGBrgb(72, 57, 181)
HSLhsl(247, 52%, 47%)
HSVhsv(247, 69%, 71%)
CMYKcmyk(60.2%, 68.5%, 0%, 29%)
CIE-LABlab(33.22, 41.93, -63.59)
CIE-LCHlch(33.22, 76.17, 303.40°)
OKLaboklab(44.22% 0.0357 -0.1832)
OKLCHoklch(44.22% 0.187 281)
XYZxyz(12.4735, 7.6393, 44.5243)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839B5 #A6B539
analogous
#3968B5 #4839B5 #8639B5
triadic
#4839B5 #B54839 #39B548
tetradic
#4839B5 #B53968 #A6B539 #39B586
square
#4839B5 #B53968 #A6B539 #39B586
split-complementary
#4839B5 #B58639 #68B539
monochromatic
#231C58 #352A86 #4839B5 #6C5FCD #978DDB

Accessibility & contrast

On white

8.31
#4839B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4839B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839B5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839B5#FFFFFF#000000##FFFFFF
##4839B51.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4839b5;
/* rgb */ color: rgb(72, 57, 181);
/* oklch */ color: oklch(44.2% 0.187 281.0);
Tailwind
colors: {
  custom: {
    50: '#8771cc',
    500: '#4839b5',
    950: '#000000',
  },
}
SCSS
$custom: #4839b5;
$custom-light: #8771cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4839b5",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 247.258,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.18663,
    "h": 281
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#4839B5
secondary
#BEC684
accent
#DC4CCA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4839B5

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

Preview Lab → · Contrast checker → · Palette generator →

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