#3847C7#3847C7

#3847C7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.197 H 271.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3847C7
RGBrgb(56, 71, 199)
HSLhsl(234, 56%, 50%)
HSVhsv(234, 72%, 78%)
CMYKcmyk(71.9%, 64.3%, 0%, 22%)
CIE-LABlab(36.87, 37.34, -68.22)
CIE-LCHlch(36.87, 77.77, 298.70°)
OKLaboklab(47.08% 0.0043 -0.1971)
OKLCHoklch(47.08% 0.197 271.3)
XYZxyz(14.1894, 9.4693, 55.1017)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847C7 #C7B838
analogous
#388FC7 #3847C7 #7038C7
triadic
#3847C7 #C73847 #47C738
tetradic
#3847C7 #C7388F #C7B838 #38C770
square
#3847C7 #C7388F #C7B838 #38C770
split-complementary
#3847C7 #C77038 #8FC738
monochromatic
#1D2567 #2B3697 #3847C7 #6873D4 #989FE2

Accessibility & contrast

On white

7.26
#3847C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3847C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847C7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847C7#FFFFFF#000000##FFFFFF
##3847C71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3847c7;
/* rgb */ color: rgb(56, 71, 199);
/* oklch */ color: oklch(47.1% 0.197 271.3);
Tailwind
colors: {
  custom: {
    50: '#827ad9',
    500: '#3847c7',
    950: '#000000',
  },
}
SCSS
$custom: #3847c7;
$custom-light: #827ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3847c7",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 233.706,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.19718,
    "h": 271.3
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#3847C7
secondary
#CDC78D
accent
#D048DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3847C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3847C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva