#4839BF#4839BF

#4839BF is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.1% C 0.199 H 279.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4839BF
RGBrgb(72, 57, 191)
HSLhsl(247, 54%, 49%)
HSVhsv(247, 70%, 75%)
CMYKcmyk(62.3%, 70.2%, 0%, 25.1%)
CIE-LABlab(34.12, 45.09, -68.02)
CIE-LCHlch(34.12, 81.61, 303.54°)
OKLaboklab(45.14% 0.0341 -0.1962)
OKLCHoklch(45.14% 0.199 279.9)
XYZxyz(13.5366, 8.0645, 50.1234)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839BF #B0BF39
analogous
#396DBF #4839BF #8B39BF
triadic
#4839BF #BF4839 #39BF48
tetradic
#4839BF #BF396D #B0BF39 #39BF8B
square
#4839BF #BF396D #B0BF39 #39BF8B
split-complementary
#4839BF #BF8B39 #6DBF39
monochromatic
#241D61 #362B90 #4839BF #7064D1 #9C93DF

Accessibility & contrast

On white

8.04
#4839BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4839BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839BF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839BF#FFFFFF#000000##FFFFFF
##4839BF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4839bf;
/* rgb */ color: rgb(72, 57, 191);
/* oklch */ color: oklch(45.1% 0.199 279.9);
Tailwind
colors: {
  custom: {
    50: '#8971d3',
    500: '#4839bf',
    950: '#000000',
  },
}
SCSS
$custom: #4839bf;
$custom-light: #8971d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4839bf",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 246.716,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.1991,
    "h": 279.9
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#4839BF
secondary
#C3CA8A
accent
#DD4ACD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4839BF

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

Preview Lab → · Contrast checker → · Palette generator →

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