#3846AB#3846AB

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

Color values

HEX#3846AB
RGBrgb(56, 70, 171)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(67.3%, 59.1%, 0%, 32.9%)
CIE-LABlab(34.31, 28.03, -55.90)
CIE-LCHlch(34.31, 62.53, 296.63°)
OKLaboklab(44.47% 0.0059 -0.161)
OKLCHoklch(44.47% 0.161 272.1)
XYZxyz(11.1693, 8.1603, 39.5067)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846AB #AB9D38
analogous
#387FAB #3846AB #6438AB
triadic
#3846AB #AB3846 #46AB38
tetradic
#3846AB #AB387F #AB9D38 #38AB64
square
#3846AB #AB387F #AB9D38 #38AB64
split-complementary
#3846AB #AB6438 #7FAB38
monochromatic
#1A204F #29337D #3846AB #5866C8 #8690D7

Accessibility & contrast

On white

7.98
#3846AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3846AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846AB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846AB#FFFFFF#000000##FFFFFF
##3846AB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3846ab;
/* rgb */ color: rgb(56, 70, 171);
/* oklch */ color: oklch(44.5% 0.161 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c79c5',
    500: '#3846ab',
    950: '#000000',
  },
}
SCSS
$custom: #3846ab;
$custom-light: #7c79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3846ab",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 232.696,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.1611,
    "h": 272.1
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#3846AB
secondary
#C1B97D
accent
#C94EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846AB

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

Preview Lab → · Contrast checker → · Palette generator →

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