#4839C0#4839C0

#4839C0 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.200 H 279.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4839C0
RGBrgb(72, 57, 192)
HSLhsl(247, 54%, 49%)
HSVhsv(247, 70%, 75%)
CMYKcmyk(62.5%, 70.3%, 0%, 24.7%)
CIE-LABlab(34.21, 45.41, -68.46)
CIE-LCHlch(34.21, 82.15, 303.56°)
OKLaboklab(45.23% 0.0339 -0.1974)
OKLCHoklch(45.23% 0.2 279.8)
XYZxyz(13.6470, 8.1087, 50.7049)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839C0 #B1C039
analogous
#396EC0 #4839C0 #8C39C0
triadic
#4839C0 #C04839 #39C048
tetradic
#4839C0 #C0396E #B1C039 #39C08C
square
#4839C0 #C0396E #B1C039 #39C08C
split-complementary
#4839C0 #C08C39 #6EC039
monochromatic
#251D62 #362B91 #4839C0 #7165D1 #9C94DF

Accessibility & contrast

On white

8.01
#4839C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4839C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839C0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839C0#FFFFFF#000000##FFFFFF
##4839C01.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4839c0;
/* rgb */ color: rgb(72, 57, 192);
/* oklch */ color: oklch(45.2% 0.200 279.8);
Tailwind
colors: {
  custom: {
    50: '#8971d4',
    500: '#4839c0',
    950: '#000000',
  },
}
SCSS
$custom: #4839c0;
$custom-light: #8971d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4839c0",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 246.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.20034,
    "h": 279.8
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#4839C0
secondary
#C3CB8A
accent
#DE4ACD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4839C0

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

Preview Lab → · Contrast checker → · Palette generator →

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