#4839C3#4839C3

#4839C3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.204 H 279.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4839C3
RGBrgb(72, 57, 195)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 76%)
CMYKcmyk(63.1%, 70.8%, 0%, 23.5%)
CIE-LABlab(34.48, 46.35, -69.76)
CIE-LCHlch(34.48, 83.75, 303.60°)
OKLaboklab(45.51% 0.0334 -0.2013)
OKLCHoklch(45.51% 0.204 279.4)
XYZxyz(13.9828, 8.2430, 52.4734)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839C3 #B4C339
analogous
#396FC3 #4839C3 #8D39C3
triadic
#4839C3 #C34839 #39C348
tetradic
#4839C3 #C3396F #B4C339 #39C38D
square
#4839C3 #C3396F #B4C339 #39C38D
split-complementary
#4839C3 #C38D39 #6FC339
monochromatic
#251D64 #372B94 #4839C3 #7267D2 #9E96E0

Accessibility & contrast

On white

7.93
#4839C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4839C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4839C3#FFFFFF#000000##FFFFFF
##4839C31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4839c3;
/* rgb */ color: rgb(72, 57, 195);
/* oklch */ color: oklch(45.5% 0.204 279.4);
Tailwind
colors: {
  custom: {
    50: '#8a71d6',
    500: '#4839c3',
    950: '#000000',
  },
}
SCSS
$custom: #4839c3;
$custom-light: #8a71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4839c3",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 246.522,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.20401,
    "h": 279.4
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#4839C3
secondary
#C5CC8C
accent
#DE4ACE
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4839C3

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

Preview Lab → · Contrast checker → · Palette generator →

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