#4849BA#4849BA

#4849BA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.174 H 277.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4849BA
RGBrgb(72, 73, 186)
HSLhsl(239, 45%, 51%)
HSVhsv(239, 61%, 73%)
CMYKcmyk(61.3%, 60.8%, 0%, 27.1%)
CIE-LABlab(37.27, 33.89, -59.92)
CIE-LCHlch(37.27, 68.84, 299.49°)
OKLaboklab(47.3% 0.0214 -0.1724)
OKLCHoklch(47.3% 0.174 277.1)
XYZxyz(13.9151, 9.6869, 47.5813)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4849BA #BAB948
analogous
#4882BA #4849BA #8048BA
triadic
#4849BA #BA4849 #49BA48
tetradic
#4849BA #BA4882 #BAB948 #48BA80
square
#4849BA #BA4882 #BAB948 #48BA80
split-complementary
#4849BA #BA8048 #82BA48
monochromatic
#252662 #36378F #4849BA #7475CB #A1A1DC

Accessibility & contrast

On white

7.15
#4849BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4849BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4849BA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4849BA#FFFFFF#000000##FFFFFF
##4849BA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4849ba;
/* rgb */ color: rgb(72, 73, 186);
/* oklch */ color: oklch(47.3% 0.174 277.1);
Tailwind
colors: {
  custom: {
    50: '#877cd0',
    500: '#4849ba',
    950: '#000000',
  },
}
SCSS
$custom: #4849ba;
$custom-light: #877cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4849ba",
  "rgb": {
    "r": 72,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 239.474,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.17368,
    "h": 277.1
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#4849BA
secondary
#C8C896
accent
#D453D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4849BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4849BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva