#3846AA#3846AA

#3846AA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.160 H 272.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3846AA
RGBrgb(56, 70, 170)
HSLhsl(233, 50%, 44%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(67.1%, 58.8%, 0%, 33.3%)
CIE-LABlab(34.24, 27.67, -55.43)
CIE-LCHlch(34.24, 61.95, 296.53°)
OKLaboklab(44.39% 0.0059 -0.1596)
OKLCHoklch(44.39% 0.16 272.1)
XYZxyz(11.0743, 8.1223, 39.0066)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846AA #AA9C38
analogous
#387FAA #3846AA #6338AA
triadic
#3846AA #AA3846 #46AA38
tetradic
#3846AA #AA387F #AA9C38 #38AA63
square
#3846AA #AA387F #AA9C38 #38AA63
split-complementary
#3846AA #AA6338 #7FAA38
monochromatic
#1A204E #29337C #3846AA #5765C8 #858FD7

Accessibility & contrast

On white

8.00
#3846AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3846AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3846AA#FFFFFF#000000##FFFFFF
##3846AA1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3846aa;
/* rgb */ color: rgb(56, 70, 170);
/* oklch */ color: oklch(44.4% 0.160 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c79c4',
    500: '#3846aa',
    950: '#000000',
  },
}
SCSS
$custom: #3846aa;
$custom-light: #7c79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3846aa",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 232.632,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.15972,
    "h": 272.1
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3846AA

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

Preview Lab → · Contrast checker → · Palette generator →

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