#4839D7#4839D7

#4839D7 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.4% C 0.228 H 277.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4839D7
RGBrgb(72, 57, 215)
HSLhsl(246, 66%, 53%)
HSVhsv(246, 73%, 84%)
CMYKcmyk(66.5%, 73.5%, 0%, 15.7%)
CIE-LABlab(36.38, 52.55, -78.25)
CIE-LCHlch(36.38, 94.26, 303.89°)
OKLaboklab(47.44% 0.0295 -0.226)
OKLCHoklch(47.44% 0.228 277.4)
XYZxyz(16.3974, 9.2088, 65.1902)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839D7 #C8D739
analogous
#3979D7 #4839D7 #9739D7
triadic
#4839D7 #D74839 #39D748
tetradic
#4839D7 #D73979 #C8D739 #39D797
square
#4839D7 #D73979 #C8D739 #39D797
split-complementary
#4839D7 #D79739 #79D739
monochromatic
#23197C #3123AF #4839D7 #776CE1 #A69FEC

Accessibility & contrast

On white

7.39
#4839D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4839D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4839D7#FFFFFF#000000##FFFFFF
##4839D71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4839d7;
/* rgb */ color: rgb(72, 57, 215);
/* oklch */ color: oklch(47.4% 0.228 277.4);
Tailwind
colors: {
  custom: {
    50: '#8d72e5',
    500: '#4839d7',
    950: '#000000',
  },
}
SCSS
$custom: #4839d7;
$custom-light: #8d72e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4839d7",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 245.696,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.22797,
    "h": 277.4
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#4839D7
secondary
#D1D894
accent
#E93ED9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4839D7

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

Preview Lab → · Contrast checker → · Palette generator →

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