#3847B3#3847B3

#3847B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.171 H 271.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3847B3
RGBrgb(56, 71, 179)
HSLhsl(233, 52%, 46%)
HSVhsv(233, 69%, 70%)
CMYKcmyk(68.7%, 60.3%, 0%, 29.8%)
CIE-LABlab(35.20, 30.25, -59.21)
CIE-LCHlch(35.20, 66.49, 297.07°)
OKLaboklab(45.33% 0.0051 -0.1707)
OKLCHoklch(45.33% 0.171 271.7)
XYZxyz(12.0181, 8.6008, 43.6658)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847B3 #B3A438
analogous
#3884B3 #3847B3 #6638B3
triadic
#3847B3 #B33847 #47B338
tetradic
#3847B3 #B33884 #B3A438 #38B366
square
#3847B3 #B33884 #B3A438 #38B366
split-complementary
#3847B3 #B36638 #84B338
monochromatic
#1B2256 #293584 #3847B3 #5C6ACC #8B95DB

Accessibility & contrast

On white

7.72
#3847B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3847B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847B3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847B3#FFFFFF#000000##FFFFFF
##3847B31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3847b3;
/* rgb */ color: rgb(56, 71, 179);
/* oklch */ color: oklch(45.3% 0.171 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e7acb',
    500: '#3847b3',
    950: '#000000',
  },
}
SCSS
$custom: #3847b3;
$custom-light: #7e7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3847b3",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 232.683,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45331,
    "c": 0.17077,
    "h": 271.7
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#3847B3
secondary
#C5BD82
accent
#CA4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3847B3

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

Preview Lab → · Contrast checker → · Palette generator →

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