#4839C5#4839C5

#4839C5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.206 H 279.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4839C5
RGBrgb(72, 57, 197)
HSLhsl(246, 55%, 50%)
HSVhsv(246, 71%, 77%)
CMYKcmyk(63.5%, 71.1%, 0%, 22.7%)
CIE-LABlab(34.67, 46.97, -70.63)
CIE-LCHlch(34.67, 84.82, 303.63°)
OKLaboklab(45.7% 0.0331 -0.2038)
OKLCHoklch(45.7% 0.206 279.2)
XYZxyz(14.2104, 8.3341, 53.6723)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839C5 #B6C539
analogous
#3970C5 #4839C5 #8E39C5
triadic
#4839C5 #C54839 #39C548
tetradic
#4839C5 #C53970 #B6C539 #39C58E
square
#4839C5 #C53970 #B6C539 #39C58E
split-complementary
#4839C5 #C58E39 #70C539
monochromatic
#251E66 #372B96 #4839C5 #7368D3 #9F97E1

Accessibility & contrast

On white

7.87
#4839C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4839C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4839C5#FFFFFF#000000##FFFFFF
##4839C51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4839c5;
/* rgb */ color: rgb(72, 57, 197);
/* oklch */ color: oklch(45.7% 0.206 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a71d8',
    500: '#4839c5',
    950: '#000000',
  },
}
SCSS
$custom: #4839c5;
$custom-light: #8a71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4839c5",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 246.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.20645,
    "h": 279.2
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#4839C5
secondary
#C6CD8D
accent
#DE49CE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4839C5

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

Preview Lab → · Contrast checker → · Palette generator →

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