#3847C2#3847C2

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

Color values

HEX#3847C2
RGBrgb(56, 71, 194)
HSLhsl(233, 55%, 49%)
HSVhsv(233, 71%, 76%)
CMYKcmyk(71.1%, 63.4%, 0%, 23.9%)
CIE-LABlab(36.44, 35.59, -66.00)
CIE-LCHlch(36.44, 74.99, 298.33°)
OKLaboklab(46.63% 0.0046 -0.1906)
OKLCHoklch(46.63% 0.191 271.4)
XYZxyz(13.6184, 9.2409, 52.0944)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847C2 #C2B338
analogous
#388CC2 #3847C2 #6E38C2
triadic
#3847C2 #C23847 #47C238
tetradic
#3847C2 #C2388C #C2B338 #38C26E
square
#3847C2 #C2388C #C2B338 #38C26E
split-complementary
#3847C2 #C26E38 #8CC238
monochromatic
#1D2463 #2A3693 #3847C2 #6571D2 #949CE0

Accessibility & contrast

On white

7.37
#3847C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3847C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847C2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847C2#FFFFFF#000000##FFFFFF
##3847C21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3847c2;
/* rgb */ color: rgb(56, 71, 194);
/* oklch */ color: oklch(46.6% 0.191 271.4);
Tailwind
colors: {
  custom: {
    50: '#817ad5',
    500: '#3847c2',
    950: '#000000',
  },
}
SCSS
$custom: #3847c2;
$custom-light: #817ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3847c2",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 233.478,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.1907,
    "h": 271.4
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3847C2

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

Preview Lab → · Contrast checker → · Palette generator →

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