#4839C8#4839C8

#4839C8 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.210 H 278.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4839C8
RGBrgb(72, 57, 200)
HSLhsl(246, 57%, 50%)
HSVhsv(246, 72%, 78%)
CMYKcmyk(64%, 71.5%, 0%, 21.6%)
CIE-LABlab(34.95, 47.91, -71.92)
CIE-LCHlch(34.95, 86.42, 303.67°)
OKLaboklab(45.99% 0.0325 -0.2076)
OKLCHoklch(45.99% 0.21 278.9)
XYZxyz(14.5576, 8.4729, 55.5007)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839C8 #B9C839
analogous
#3971C8 #4839C8 #9039C8
triadic
#4839C8 #C84839 #39C848
tetradic
#4839C8 #C83971 #B9C839 #39C890
square
#4839C8 #C83971 #B9C839 #39C890
split-complementary
#4839C8 #C89039 #71C839
monochromatic
#251D69 #362B99 #4839C8 #7469D5 #A199E3

Accessibility & contrast

On white

7.79
#4839C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4839C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4839C8#FFFFFF#000000##FFFFFF
##4839C81.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4839c8;
/* rgb */ color: rgb(72, 57, 200);
/* oklch */ color: oklch(46.0% 0.210 278.9);
Tailwind
colors: {
  custom: {
    50: '#8b71da',
    500: '#4839c8',
    950: '#000000',
  },
}
SCSS
$custom: #4839c8;
$custom-light: #8b71da;
$custom-dark: #000000;
JSON
{
  "hex": "#4839c8",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 246.294,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.2101,
    "h": 278.9
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#4839C8
secondary
#C8CE8F
accent
#E048D0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4839C8

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

Preview Lab → · Contrast checker → · Palette generator →

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