#3847B7#3847B7

#3847B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.176 H 271.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3847B7
RGBrgb(56, 71, 183)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 69%, 72%)
CMYKcmyk(69.4%, 61.2%, 0%, 28.2%)
CIE-LABlab(35.53, 31.68, -61.04)
CIE-LCHlch(35.53, 68.77, 297.43°)
OKLaboklab(45.67% 0.005 -0.1761)
OKLCHoklch(45.67% 0.176 271.6)
XYZxyz(12.4285, 8.7649, 45.8274)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847B7 #B7A838
analogous
#3887B7 #3847B7 #6838B7
triadic
#3847B7 #B73847 #47B738
tetradic
#3847B7 #B73887 #B7A838 #38B768
square
#3847B7 #B73887 #B7A838 #38B768
split-complementary
#3847B7 #B76838 #87B738
monochromatic
#1B2359 #2A3588 #3847B7 #5E6CCE #8D97DC

Accessibility & contrast

On white

7.63
#3847B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3847B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847B7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847B7#FFFFFF#000000##FFFFFF
##3847B71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3847b7;
/* rgb */ color: rgb(56, 71, 183);
/* oklch */ color: oklch(45.7% 0.176 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f7acd',
    500: '#3847b7',
    950: '#000000',
  },
}
SCSS
$custom: #3847b7;
$custom-light: #7f7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3847b7",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 232.913,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.17616,
    "h": 271.6
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#3847B7
secondary
#C7BF84
accent
#CB4BDD
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3847B7

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

Preview Lab → · Contrast checker → · Palette generator →

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