#3847BE#3847BE

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

Color values

HEX#3847BE
RGBrgb(56, 71, 190)
HSLhsl(233, 54%, 48%)
HSVhsv(233, 71%, 75%)
CMYKcmyk(70.5%, 62.6%, 0%, 25.5%)
CIE-LABlab(36.11, 34.17, -64.21)
CIE-LCHlch(36.11, 72.74, 298.02°)
OKLaboklab(46.28% 0.0048 -0.1854)
OKLCHoklch(46.28% 0.185 271.5)
XYZxyz(13.1752, 9.0636, 49.7603)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847BE #BEAF38
analogous
#388ABE #3847BE #6C38BE
triadic
#3847BE #BE3847 #47BE38
tetradic
#3847BE #BE388A #BEAF38 #38BE6C
square
#3847BE #BE388A #BEAF38 #38BE6C
split-complementary
#3847BE #BE6C38 #8ABE38
monochromatic
#1C245F #2A358F #3847BE #626FD1 #929ADF

Accessibility & contrast

On white

7.47
#3847BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3847BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847BE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847BE#FFFFFF#000000##FFFFFF
##3847BE1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3847be;
/* rgb */ color: rgb(56, 71, 190);
/* oklch */ color: oklch(46.3% 0.185 271.5);
Tailwind
colors: {
  custom: {
    50: '#807ad3',
    500: '#3847be',
    950: '#000000',
  },
}
SCSS
$custom: #3847be;
$custom-light: #807ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3847be",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 233.284,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.18545,
    "h": 271.5
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#3847BE
secondary
#CAC288
accent
#CD4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3847BE

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

Preview Lab → · Contrast checker → · Palette generator →

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