#3847B5#3847B5

#3847B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.173 H 271.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3847B5
RGBrgb(56, 71, 181)
HSLhsl(233, 53%, 46%)
HSVhsv(233, 69%, 71%)
CMYKcmyk(69.1%, 60.8%, 0%, 29%)
CIE-LABlab(35.37, 30.97, -60.13)
CIE-LCHlch(35.37, 67.63, 297.25°)
OKLaboklab(45.5% 0.0051 -0.1734)
OKLCHoklch(45.5% 0.173 271.7)
XYZxyz(12.2218, 8.6823, 44.7389)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847B5 #B5A638
analogous
#3886B5 #3847B5 #6838B5
triadic
#3847B5 #B53847 #47B538
tetradic
#3847B5 #B53886 #B5A638 #38B568
square
#3847B5 #B53886 #B5A638 #38B568
split-complementary
#3847B5 #B56838 #86B538
monochromatic
#1B2258 #2A3586 #3847B5 #5D6BCD #8C96DB

Accessibility & contrast

On white

7.67
#3847B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3847B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847B5
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847B5#FFFFFF#000000##FFFFFF
##3847B51.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3847b5;
/* rgb */ color: rgb(56, 71, 181);
/* oklch */ color: oklch(45.5% 0.173 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e7acc',
    500: '#3847b5',
    950: '#000000',
  },
}
SCSS
$custom: #3847b5;
$custom-light: #7e7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3847b5",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 232.8,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.455,
    "c": 0.17347,
    "h": 271.7
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#3847B5
secondary
#C6BE83
accent
#CB4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3847B5

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

Preview Lab → · Contrast checker → · Palette generator →

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