#4839B2#4839B2

#4839B2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.183 H 281.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4839B2
RGBrgb(72, 57, 178)
HSLhsl(247, 51%, 46%)
HSVhsv(247, 68%, 70%)
CMYKcmyk(59.6%, 68%, 0%, 30.2%)
CIE-LABlab(32.96, 40.98, -62.24)
CIE-LCHlch(32.96, 74.52, 303.37°)
OKLaboklab(43.95% 0.0362 -0.1792)
OKLCHoklch(43.95% 0.183 281.4)
XYZxyz(12.1690, 7.5175, 42.9206)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839B2 #A3B239
analogous
#3966B2 #4839B2 #8439B2
triadic
#4839B2 #B24839 #39B248
tetradic
#4839B2 #B23966 #A3B239 #39B284
square
#4839B2 #B23966 #A3B239 #39B284
split-complementary
#4839B2 #B28439 #66B239
monochromatic
#221B55 #352A84 #4839B2 #6B5DCB #958BDA

Accessibility & contrast

On white

8.39
#4839B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4839B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839B2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839B2#FFFFFF#000000##FFFFFF
##4839B21.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4839b2;
/* rgb */ color: rgb(72, 57, 178);
/* oklch */ color: oklch(44.0% 0.183 281.4);
Tailwind
colors: {
  custom: {
    50: '#8771ca',
    500: '#4839b2',
    950: '#000000',
  },
}
SCSS
$custom: #4839b2;
$custom-light: #8771ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4839b2",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 247.438,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.18283,
    "h": 281.4
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#4839B2
secondary
#BCC482
accent
#DB4DC9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4839B2

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

Preview Lab → · Contrast checker → · Palette generator →

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