#3847BB#3847BB

#3847BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.181 H 271.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3847BB
RGBrgb(56, 71, 187)
HSLhsl(233, 54%, 48%)
HSVhsv(233, 70%, 73%)
CMYKcmyk(70.1%, 62%, 0%, 26.7%)
CIE-LABlab(35.86, 33.11, -62.86)
CIE-LCHlch(35.86, 71.05, 297.77°)
OKLaboklab(46.02% 0.0049 -0.1814)
OKLCHoklch(46.02% 0.181 271.5)
XYZxyz(12.8507, 8.9338, 48.0512)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847BB #BBAC38
analogous
#3888BB #3847BB #6B38BB
triadic
#3847BB #BB3847 #47BB38
tetradic
#3847BB #BB3888 #BBAC38 #38BB6B
square
#3847BB #BB3888 #BBAC38 #38BB6B
split-complementary
#3847BB #BB6B38 #88BB38
monochromatic
#1C235D #2A358C #3847BB #616DD0 #9099DE

Accessibility & contrast

On white

7.53
#3847BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3847BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847BB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847BB#FFFFFF#000000##FFFFFF
##3847BB1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3847bb;
/* rgb */ color: rgb(56, 71, 187);
/* oklch */ color: oklch(46.0% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#807ad0',
    500: '#3847bb',
    950: '#000000',
  },
}
SCSS
$custom: #3847bb;
$custom-light: #807ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3847bb",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 233.13,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.18149,
    "h": 271.5
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#3847BB
secondary
#C8C186
accent
#CC4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3847BB

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

Preview Lab → · Contrast checker → · Palette generator →

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