#4847BF#4847BF

#4847BF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.183 H 277.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4847BF
RGBrgb(72, 71, 191)
HSLhsl(241, 48%, 51%)
HSVhsv(241, 63%, 75%)
CMYKcmyk(62.3%, 62.8%, 0%, 25.1%)
CIE-LABlab(37.20, 36.80, -62.98)
CIE-LCHlch(37.20, 72.94, 300.30°)
OKLaboklab(47.37% 0.0229 -0.1814)
OKLCHoklch(47.37% 0.183 277.2)
XYZxyz(14.3267, 9.6447, 50.3867)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847BF #BEBF47
analogous
#4782BF #4847BF #8447BF
triadic
#4847BF #BF4847 #47BF48
tetradic
#4847BF #BF4782 #BEBF47 #47BF84
square
#4847BF #BF4782 #BEBF47 #47BF84
split-complementary
#4847BF #BF8447 #82BF47
monochromatic
#252468 #353495 #4847BF #7574CF #A2A2DF

Accessibility & contrast

On white

7.17
#4847BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4847BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847BF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847BF#FFFFFF#000000##FFFFFF
##4847BF1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4847bf;
/* rgb */ color: rgb(72, 71, 191);
/* oklch */ color: oklch(47.4% 0.183 277.2);
Tailwind
colors: {
  custom: {
    50: '#887ad3',
    500: '#4847bf',
    950: '#000000',
  },
}
SCSS
$custom: #4847bf;
$custom-light: #887ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4847bf",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 240.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47369,
    "c": 0.1828,
    "h": 277.2
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#4847BF
secondary
#CBCB96
accent
#D850D7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4847BF

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

Preview Lab → · Contrast checker → · Palette generator →

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