#3847B8#3847B8

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

Color values

HEX#3847B8
RGBrgb(56, 71, 184)
HSLhsl(233, 53%, 47%)
HSVhsv(233, 70%, 72%)
CMYKcmyk(69.6%, 61.4%, 0%, 27.8%)
CIE-LABlab(35.61, 32.04, -61.50)
CIE-LCHlch(35.61, 69.34, 297.52°)
OKLaboklab(45.76% 0.005 -0.1774)
OKLCHoklch(45.76% 0.178 271.6)
XYZxyz(12.5329, 8.8067, 46.3775)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847B8 #B8A938
analogous
#3887B8 #3847B8 #6938B8
triadic
#3847B8 #B83847 #47B838
tetradic
#3847B8 #B83887 #B8A938 #38B869
square
#3847B8 #B83887 #B8A938 #38B869
split-complementary
#3847B8 #B86938 #87B838
monochromatic
#1B235A #2A3589 #3847B8 #5F6CCE #8E97DD

Accessibility & contrast

On white

7.60
#3847B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3847B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847B8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847B8#FFFFFF#000000##FFFFFF
##3847B81.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3847b8;
/* rgb */ color: rgb(56, 71, 184);
/* oklch */ color: oklch(45.8% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f7ace',
    500: '#3847b8',
    950: '#000000',
  },
}
SCSS
$custom: #3847b8;
$custom-light: #7f7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3847b8",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 232.969,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.1775,
    "h": 271.6
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#3847B8
secondary
#C7BF85
accent
#CC4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3847B8

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

Preview Lab → · Contrast checker → · Palette generator →

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