#3847C1#3847C1

#3847C1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.189 H 271.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3847C1
RGBrgb(56, 71, 193)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(71%, 63.2%, 0%, 24.3%)
CIE-LABlab(36.36, 35.23, -65.56)
CIE-LCHlch(36.36, 74.43, 298.25°)
OKLaboklab(46.54% 0.0047 -0.1893)
OKLCHoklch(46.54% 0.189 271.4)
XYZxyz(13.5065, 9.1961, 51.5050)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847C1 #C1B238
analogous
#388CC1 #3847C1 #6E38C1
triadic
#3847C1 #C13847 #47C138
tetradic
#3847C1 #C1388C #C1B238 #38C16E
square
#3847C1 #C1388C #C1B238 #38C16E
split-complementary
#3847C1 #C16E38 #8CC138
monochromatic
#1C2462 #2A3692 #3847C1 #6470D2 #949CE0

Accessibility & contrast

On white

7.40
#3847C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3847C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847C1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847C1#FFFFFF#000000##FFFFFF
##3847C11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3847c1;
/* rgb */ color: rgb(56, 71, 193);
/* oklch */ color: oklch(46.5% 0.189 271.4);
Tailwind
colors: {
  custom: {
    50: '#817ad5',
    500: '#3847c1',
    950: '#000000',
  },
}
SCSS
$custom: #3847c1;
$custom-light: #817ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3847c1",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 233.431,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.1894,
    "h": 271.4
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#3847C1
secondary
#CBC48A
accent
#CE49DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3847C1

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

Preview Lab → · Contrast checker → · Palette generator →

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