#3847AA#3847AA

#3847AA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.158 H 271.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3847AA
RGBrgb(56, 71, 170)
HSLhsl(232, 50%, 44%)
HSVhsv(232, 67%, 67%)
CMYKcmyk(67.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(34.50, 27.02, -55.01)
CIE-LCHlch(34.50, 61.29, 296.16°)
OKLaboklab(44.58% 0.0051 -0.1584)
OKLCHoklch(44.58% 0.158 271.8)
XYZxyz(11.1374, 8.2485, 39.0276)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847AA #AA9B38
analogous
#3880AA #3847AA #6238AA
triadic
#3847AA #AA3847 #47AA38
tetradic
#3847AA #AA3880 #AA9B38 #38AA62
square
#3847AA #AA3880 #AA9B38 #38AA62
split-complementary
#3847AA #AA6238 #80AA38
monochromatic
#1A214E #29347C #3847AA #5766C8 #8590D7

Accessibility & contrast

On white

7.92
#3847AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3847AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3847AA#FFFFFF#000000##FFFFFF
##3847AA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3847aa;
/* rgb */ color: rgb(56, 71, 170);
/* oklch */ color: oklch(44.6% 0.158 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c7ac4',
    500: '#3847aa',
    950: '#000000',
  },
}
SCSS
$custom: #3847aa;
$custom-light: #7c7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3847aa",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 232.105,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44582,
    "c": 0.15844,
    "h": 271.8
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#3847AA
secondary
#C1B87D
accent
#C84EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3847AA

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

Preview Lab → · Contrast checker → · Palette generator →

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