#3847C3#3847C3

#3847C3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.192 H 271.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3847C3
RGBrgb(56, 71, 195)
HSLhsl(234, 55%, 49%)
HSVhsv(234, 71%, 76%)
CMYKcmyk(71.3%, 63.6%, 0%, 23.5%)
CIE-LABlab(36.53, 35.94, -66.45)
CIE-LCHlch(36.53, 75.55, 298.41°)
OKLaboklab(46.72% 0.0046 -0.1919)
OKLCHoklch(46.72% 0.192 271.4)
XYZxyz(13.7311, 9.2860, 52.6879)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847C3 #C3B438
analogous
#388DC3 #3847C3 #6F38C3
triadic
#3847C3 #C33847 #47C338
tetradic
#3847C3 #C3388D #C3B438 #38C36F
square
#3847C3 #C3388D #C3B438 #38C36F
split-complementary
#3847C3 #C36F38 #8DC338
monochromatic
#1D2464 #2A3693 #3847C3 #6571D3 #959DE1

Accessibility & contrast

On white

7.35
#3847C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3847C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847C3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847C3#FFFFFF#000000##FFFFFF
##3847C31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3847c3;
/* rgb */ color: rgb(56, 71, 195);
/* oklch */ color: oklch(46.7% 0.192 271.4);
Tailwind
colors: {
  custom: {
    50: '#817ad6',
    500: '#3847c3',
    950: '#000000',
  },
}
SCSS
$custom: #3847c3;
$custom-light: #817ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3847c3",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 233.525,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.192,
    "h": 271.4
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#3847C3
secondary
#CCC58B
accent
#CF49DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3847C3

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

Preview Lab → · Contrast checker → · Palette generator →

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