#4839B8#4839B8

#4839B8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.5% C 0.190 H 280.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4839B8
RGBrgb(72, 57, 184)
HSLhsl(247, 53%, 47%)
HSVhsv(247, 69%, 72%)
CMYKcmyk(60.9%, 69%, 0%, 27.8%)
CIE-LABlab(33.49, 42.88, -64.93)
CIE-LCHlch(33.49, 77.81, 303.44°)
OKLaboklab(44.49% 0.0353 -0.1871)
OKLCHoklch(44.49% 0.19 280.7)
XYZxyz(12.7846, 7.7637, 46.1630)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839B8 #A9B839
analogous
#3969B8 #4839B8 #8839B8
triadic
#4839B8 #B84839 #39B848
tetradic
#4839B8 #B83969 #A9B839 #39B888
square
#4839B8 #B83969 #A9B839 #39B888
split-complementary
#4839B8 #B88839 #69B839
monochromatic
#231C5B #362B89 #4839B8 #6D60CE #988FDC

Accessibility & contrast

On white

8.23
#4839B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4839B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839B8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839B8#FFFFFF#000000##FFFFFF
##4839B81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4839b8;
/* rgb */ color: rgb(72, 57, 184);
/* oklch */ color: oklch(44.5% 0.190 280.7);
Tailwind
colors: {
  custom: {
    50: '#8871ce',
    500: '#4839b8',
    950: '#000000',
  },
}
SCSS
$custom: #4839b8;
$custom-light: #8871ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4839b8",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 247.087,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44494,
    "c": 0.1904,
    "h": 280.7
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4839B8

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

Preview Lab → · Contrast checker → · Palette generator →

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