#4839CF#4839CF

#4839CF is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.218 H 278.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4839CF
RGBrgb(72, 57, 207)
HSLhsl(246, 61%, 52%)
HSVhsv(246, 72%, 81%)
CMYKcmyk(65.2%, 72.5%, 0%, 18.8%)
CIE-LABlab(35.61, 50.09, -74.90)
CIE-LCHlch(35.61, 90.10, 303.77°)
OKLaboklab(46.66% 0.0312 -0.2163)
OKLCHoklch(46.66% 0.219 278.2)
XYZxyz(15.3945, 8.8077, 59.9082)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839CF #C0CF39
analogous
#3975CF #4839CF #9339CF
triadic
#4839CF #CF4839 #39CF48
tetradic
#4839CF #CF3975 #C0CF39 #39CF93
square
#4839CF #CF3975 #C0CF39 #39CF93
split-complementary
#4839CF #CF9339 #75CF39
monochromatic
#241C72 #3428A3 #4839CF #766ADB #A39CE7

Accessibility & contrast

On white

7.60
#4839CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4839CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839CF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839CF#FFFFFF#000000##FFFFFF
##4839CF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004ECC
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4839cf;
/* rgb */ color: rgb(72, 57, 207);
/* oklch */ color: oklch(46.7% 0.218 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c72df',
    500: '#4839cf',
    950: '#000000',
  },
}
SCSS
$custom: #4839cf;
$custom-light: #8c72df;
$custom-dark: #000000;
JSON
{
  "hex": "#4839cf",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 246,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.2185,
    "h": 278.2
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#4839CF
secondary
#CCD391
accent
#E444D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4839CF

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

Preview Lab → · Contrast checker → · Palette generator →

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