#3847AE#3847AE

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

Color values

HEX#3847AE
RGBrgb(56, 71, 174)
HSLhsl(232, 51%, 45%)
HSVhsv(232, 68%, 68%)
CMYKcmyk(67.8%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.81, 28.46, -56.89)
CIE-LCHlch(34.81, 63.61, 296.58°)
OKLaboklab(44.91% 0.0051 -0.1639)
OKLCHoklch(44.91% 0.164 271.8)
XYZxyz(11.5215, 8.4022, 41.0508)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847AE #AE9F38
analogous
#3882AE #3847AE #6438AE
triadic
#3847AE #AE3847 #47AE38
tetradic
#3847AE #AE3882 #AE9F38 #38AE64
square
#3847AE #AE3882 #AE9F38 #38AE64
split-complementary
#3847AE #AE6438 #82AE38
monochromatic
#1A2151 #293480 #3847AE #5968CA #8892D9

Accessibility & contrast

On white

7.83
#3847AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3847AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3847AE#FFFFFF#000000##FFFFFF
##3847AE1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3847ae;
/* rgb */ color: rgb(56, 71, 174);
/* oklch */ color: oklch(44.9% 0.164 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ac7',
    500: '#3847ae',
    950: '#000000',
  },
}
SCSS
$custom: #3847ae;
$custom-light: #7d7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3847ae",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 232.373,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44911,
    "c": 0.16396,
    "h": 271.8
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#3847AE
secondary
#C3BA7F
accent
#C94DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3847AE

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

Preview Lab → · Contrast checker → · Palette generator →

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