#3847BF#3847BF

#3847BF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.187 H 271.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3847BF
RGBrgb(56, 71, 191)
HSLhsl(233, 55%, 48%)
HSVhsv(233, 71%, 75%)
CMYKcmyk(70.7%, 62.8%, 0%, 25.1%)
CIE-LABlab(36.19, 34.52, -64.66)
CIE-LCHlch(36.19, 73.30, 298.10°)
OKLaboklab(46.37% 0.0048 -0.1867)
OKLCHoklch(46.37% 0.187 271.5)
XYZxyz(13.2849, 9.1075, 50.3379)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847BF #BFB038
analogous
#388ABF #3847BF #6C38BF
triadic
#3847BF #BF3847 #47BF38
tetradic
#3847BF #BF388A #BFB038 #38BF6C
square
#3847BF #BF388A #BFB038 #38BF6C
split-complementary
#3847BF #BF6C38 #8ABF38
monochromatic
#1C2460 #2A3590 #3847BF #636FD1 #929BDF

Accessibility & contrast

On white

7.44
#3847BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3847BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847BF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847BF#FFFFFF#000000##FFFFFF
##3847BF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3847bf;
/* rgb */ color: rgb(56, 71, 191);
/* oklch */ color: oklch(46.4% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#817ad3',
    500: '#3847bf',
    950: '#000000',
  },
}
SCSS
$custom: #3847bf;
$custom-light: #817ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3847bf",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 233.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46366,
    "c": 0.18677,
    "h": 271.5
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#3847BF
secondary
#CAC389
accent
#CE4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3847BF

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

Preview Lab → · Contrast checker → · Palette generator →

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