#3846AC#3846AC

#3846AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.162 H 272.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3846AC
RGBrgb(56, 70, 172)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(67.4%, 59.3%, 0%, 32.5%)
CIE-LABlab(34.39, 28.39, -56.37)
CIE-LCHlch(34.39, 63.11, 296.73°)
OKLaboklab(44.56% 0.0059 -0.1624)
OKLCHoklch(44.56% 0.162 272.1)
XYZxyz(11.2649, 8.1986, 40.0106)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846AC #AC9E38
analogous
#3880AC #3846AC #6438AC
triadic
#3846AC #AC3846 #46AC38
tetradic
#3846AC #AC3880 #AC9E38 #38AC64
square
#3846AC #AC3880 #AC9E38 #38AC64
split-complementary
#3846AC #AC6438 #80AC38
monochromatic
#1A2050 #29337E #3846AC #5866C9 #8790D8

Accessibility & contrast

On white

7.95
#3846AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3846AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846AC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846AC#FFFFFF#000000##FFFFFF
##3846AC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3846ac;
/* rgb */ color: rgb(56, 70, 172);
/* oklch */ color: oklch(44.6% 0.162 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d79c6',
    500: '#3846ac',
    950: '#000000',
  },
}
SCSS
$custom: #3846ac;
$custom-light: #7d79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3846ac",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 232.759,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.16248,
    "h": 272.1
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#3846AC
secondary
#C2BA7E
accent
#C94DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3846AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva