#3846AE#3846AE

#3846AE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.165 H 272.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3846AE
RGBrgb(56, 70, 174)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 68%, 68%)
CMYKcmyk(67.8%, 59.8%, 0%, 31.8%)
CIE-LABlab(34.55, 29.11, -57.30)
CIE-LCHlch(34.55, 64.27, 296.93°)
OKLaboklab(44.72% 0.0059 -0.1651)
OKLCHoklch(44.72% 0.165 272.1)
XYZxyz(11.4585, 8.2760, 41.0298)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846AE #AEA038
analogous
#3881AE #3846AE #6538AE
triadic
#3846AE #AE3846 #46AE38
tetradic
#3846AE #AE3881 #AEA038 #38AE65
square
#3846AE #AE3881 #AEA038 #38AE65
split-complementary
#3846AE #AE6538 #81AE38
monochromatic
#1A2151 #293380 #3846AE #5967CA #8891D9

Accessibility & contrast

On white

7.91
#3846AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3846AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3846AE#FFFFFF#000000##FFFFFF
##3846AE1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3846ae;
/* rgb */ color: rgb(56, 70, 174);
/* oklch */ color: oklch(44.7% 0.165 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d79c7',
    500: '#3846ae',
    950: '#000000',
  },
}
SCSS
$custom: #3846ae;
$custom-light: #7d79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3846ae",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 232.881,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44722,
    "c": 0.16522,
    "h": 272.1
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#3846AE
secondary
#C3BB7F
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846AE

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

Preview Lab → · Contrast checker → · Palette generator →

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