#4839E2#4839E2

#4839E2 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.5% C 0.241 H 276.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4839E2
RGBrgb(72, 57, 226)
HSLhsl(245, 74%, 55%)
HSVhsv(245, 75%, 89%)
CMYKcmyk(68.1%, 74.8%, 0%, 11.4%)
CIE-LABlab(37.47, 55.91, -82.77)
CIE-LCHlch(37.47, 99.88, 304.04°)
OKLaboklab(48.53% 0.0272 -0.2392)
OKLCHoklch(48.53% 0.241 276.5)
XYZxyz(17.8586, 9.7933, 72.8859)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839E2 #D3E239
analogous
#397FE2 #4839E2 #9C39E2
triadic
#4839E2 #E24839 #39E248
tetradic
#4839E2 #E2397F #D3E239 #39E29C
square
#4839E2 #E2397F #D3E239 #39E29C
split-complementary
#4839E2 #E29C39 #7FE239
monochromatic
#1F158C #2B1CC1 #4839E2 #796EEA #ABA4F2

Accessibility & contrast

On white

7.10
#4839E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4839E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839E2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839E2#FFFFFF#000000##FFFFFF
##4839E21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE7
Deuteranopia (green-blind)
#0051DF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4839e2;
/* rgb */ color: rgb(72, 57, 226);
/* oklch */ color: oklch(48.5% 0.241 276.5);
Tailwind
colors: {
  custom: {
    50: '#9073ed',
    500: '#4839e2',
    950: '#000000',
  },
}
SCSS
$custom: #4839e2;
$custom-light: #9073ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4839e2",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 245.325,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.24075,
    "h": 276.5
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#4839E2
secondary
#D8DF98
accent
#F137E1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4839E2

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

Preview Lab → · Contrast checker → · Palette generator →

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