#3847AD#3847AD

#3847AD is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.163 H 271.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3847AD
RGBrgb(56, 71, 173)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 68%, 68%)
CMYKcmyk(67.6%, 59%, 0%, 32.2%)
CIE-LABlab(34.73, 28.10, -56.42)
CIE-LCHlch(34.73, 63.03, 296.48°)
OKLaboklab(44.83% 0.0051 -0.1625)
OKLCHoklch(44.83% 0.163 271.8)
XYZxyz(11.4244, 8.3633, 40.5393)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847AD #AD9E38
analogous
#3881AD #3847AD #6438AD
triadic
#3847AD #AD3847 #47AD38
tetradic
#3847AD #AD3881 #AD9E38 #38AD64
square
#3847AD #AD3881 #AD9E38 #38AD64
split-complementary
#3847AD #AD6438 #81AD38
monochromatic
#1A2151 #29347F #3847AD #5967C9 #8792D8

Accessibility & contrast

On white

7.86
#3847AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3847AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3847AD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3847AD#FFFFFF#000000##FFFFFF
##3847AD1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3847ad;
/* rgb */ color: rgb(56, 71, 173);
/* oklch */ color: oklch(44.8% 0.163 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ac6',
    500: '#3847ad',
    950: '#000000',
  },
}
SCSS
$custom: #3847ad;
$custom-light: #7d7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3847ad",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 232.308,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.16258,
    "h": 271.8
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#3847AD
secondary
#C2BA7F
accent
#C84DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3847AD

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

Preview Lab → · Contrast checker → · Palette generator →

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