#4839AA#4839AA

#4839AA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.173 H 282.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4839AA
RGBrgb(72, 57, 170)
HSLhsl(248, 50%, 45%)
HSVhsv(248, 66%, 67%)
CMYKcmyk(57.6%, 66.5%, 0%, 33.3%)
CIE-LABlab(32.27, 38.44, -58.58)
CIE-LCHlch(32.27, 70.07, 303.27°)
OKLaboklab(43.24% 0.0372 -0.1685)
OKLCHoklch(43.24% 0.173 282.5)
XYZxyz(11.3891, 7.2055, 38.8131)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839AA #9BAA39
analogous
#3962AA #4839AA #8139AA
triadic
#4839AA #AA4839 #39AA48
tetradic
#4839AA #AA3962 #9BAA39 #39AA81
square
#4839AA #AA3962 #9BAA39 #39AA81
split-complementary
#4839AA #AA8139 #62AA39
monochromatic
#211A4E #352A7C #4839AA #6859C7 #9187D7

Accessibility & contrast

On white

8.60
#4839AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4839AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4839AA#FFFFFF#000000##FFFFFF
##4839AA1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#13566C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4839aa;
/* rgb */ color: rgb(72, 57, 170);
/* oklch */ color: oklch(43.2% 0.173 282.5);
Tailwind
colors: {
  custom: {
    50: '#8570c4',
    500: '#4839aa',
    950: '#000000',
  },
}
SCSS
$custom: #4839aa;
$custom-light: #8570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4839aa",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 247.965,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.17257,
    "h": 282.5
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#4839AA
secondary
#B8C17E
accent
#D94EC7
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4839AA

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

Preview Lab → · Contrast checker → · Palette generator →

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