#4839BB#4839BB

#4839BB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.8% C 0.194 H 280.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4839BB
RGBrgb(72, 57, 187)
HSLhsl(247, 53%, 48%)
HSVhsv(247, 70%, 73%)
CMYKcmyk(61.5%, 69.5%, 0%, 26.7%)
CIE-LABlab(33.75, 43.83, -66.26)
CIE-LCHlch(33.75, 79.44, 303.48°)
OKLaboklab(44.77% 0.0348 -0.191)
OKLCHoklch(44.77% 0.194 280.3)
XYZxyz(13.1024, 7.8909, 47.8367)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839BB #ACBB39
analogous
#396BBB #4839BB #8939BB
triadic
#4839BB #BB4839 #39BB48
tetradic
#4839BB #BB396B #ACBB39 #39BB89
square
#4839BB #BB396B #ACBB39 #39BB89
split-complementary
#4839BB #BB8939 #6BBB39
monochromatic
#241C5D #362B8C #4839BB #6F62CF #9A91DD

Accessibility & contrast

On white

8.14
#4839BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4839BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839BB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839BB#FFFFFF#000000##FFFFFF
##4839BB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4839bb;
/* rgb */ color: rgb(72, 57, 187);
/* oklch */ color: oklch(44.8% 0.194 280.3);
Tailwind
colors: {
  custom: {
    50: '#8871d1',
    500: '#4839bb',
    950: '#000000',
  },
}
SCSS
$custom: #4839bb;
$custom-light: #8871d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4839bb",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 246.923,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.19414,
    "h": 280.3
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#4839BB
secondary
#C1C887
accent
#DD4BCC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4839BB

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

Preview Lab → · Contrast checker → · Palette generator →

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