#3847A2#3847A2

#3847A2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.147 H 271.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3847A2
RGBrgb(56, 71, 162)
HSLhsl(232, 49%, 43%)
HSVhsv(232, 65%, 64%)
CMYKcmyk(65.4%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.89, 24.14, -51.20)
CIE-LCHlch(33.89, 56.60, 295.24°)
OKLaboklab(43.94% 0.0048 -0.1472)
OKLCHoklch(43.94% 0.147 271.9)
XYZxyz(10.4035, 7.9549, 35.1626)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3847A2 #A29338
analogous
#387CA2 #3847A2 #5E38A2
triadic
#3847A2 #A23847 #47A238
tetradic
#3847A2 #A2387C #A29338 #38A25E
square
#3847A2 #A2387C #A29338 #38A25E
split-complementary
#3847A2 #A25E38 #7CA238
monochromatic
#191F47 #283375 #3847A2 #5363C4 #818DD3

Accessibility & contrast

On white

8.10
#3847A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3847A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3847A2#FFFFFF#000000##FFFFFF
##3847A21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3847a2;
/* rgb */ color: rgb(56, 71, 162);
/* oklch */ color: oklch(43.9% 0.147 271.9);
Tailwind
colors: {
  custom: {
    50: '#7b7abe',
    500: '#3847a2',
    950: '#000000',
  },
}
SCSS
$custom: #3847a2;
$custom-light: #7b7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3847a2",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 231.509,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.14724,
    "h": 271.9
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#3847A2
secondary
#BDB379
accent
#C550D8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3847A2

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

Preview Lab → · Contrast checker → · Palette generator →

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