#3846BD#3846BD

#3846BD is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.185 H 271.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3846BD
RGBrgb(56, 70, 189)
HSLhsl(234, 54%, 48%)
HSVhsv(234, 70%, 74%)
CMYKcmyk(70.4%, 63%, 0%, 25.9%)
CIE-LABlab(35.78, 34.45, -64.16)
CIE-LCHlch(35.78, 72.83, 298.23°)
OKLaboklab(46.01% 0.0056 -0.1852)
OKLCHoklch(46.01% 0.185 271.7)
XYZxyz(13.0032, 8.8939, 49.1657)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846BD #BDAF38
analogous
#3888BD #3846BD #6C38BD
triadic
#3846BD #BD3846 #46BD38
tetradic
#3846BD #BD3888 #BDAF38 #38BD6C
square
#3846BD #BD3888 #BDAF38 #38BD6C
split-complementary
#3846BD #BD6C38 #88BD38
monochromatic
#1C235F #2A358E #3846BD #626DD0 #9199DE

Accessibility & contrast

On white

7.56
#3846BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3846BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3846BD#FFFFFF#000000##FFFFFF
##3846BD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3846bd;
/* rgb */ color: rgb(56, 70, 189);
/* oklch */ color: oklch(46.0% 0.185 271.7);
Tailwind
colors: {
  custom: {
    50: '#8079d2',
    500: '#3846bd',
    950: '#000000',
  },
}
SCSS
$custom: #3846bd;
$custom-light: #8079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3846bd",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 233.684,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46011,
    "c": 0.18533,
    "h": 271.7
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#3846BD
secondary
#C9C287
accent
#CE4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3846BD

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

Preview Lab → · Contrast checker → · Palette generator →

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