#3846BE#3846BE

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

Color values

HEX#3846BE
RGBrgb(56, 70, 190)
HSLhsl(234, 54%, 48%)
HSVhsv(234, 71%, 75%)
CMYKcmyk(70.5%, 63.2%, 0%, 25.5%)
CIE-LABlab(35.86, 34.80, -64.61)
CIE-LCHlch(35.86, 73.39, 298.31°)
OKLaboklab(46.1% 0.0055 -0.1866)
OKLCHoklch(46.1% 0.187 271.7)
XYZxyz(13.1122, 8.9375, 49.7393)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846BE #BEB038
analogous
#3889BE #3846BE #6D38BE
triadic
#3846BE #BE3846 #46BE38
tetradic
#3846BE #BE3889 #BEB038 #38BE6D
square
#3846BE #BE3889 #BEB038 #38BE6D
split-complementary
#3846BE #BE6D38 #89BE38
monochromatic
#1C235F #2A358F #3846BE #626ED1 #929ADF

Accessibility & contrast

On white

7.53
#3846BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3846BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3846BE#FFFFFF#000000##FFFFFF
##3846BE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3846be;
/* rgb */ color: rgb(56, 70, 190);
/* oklch */ color: oklch(46.1% 0.187 271.7);
Tailwind
colors: {
  custom: {
    50: '#8079d3',
    500: '#3846be',
    950: '#000000',
  },
}
SCSS
$custom: #3846be;
$custom-light: #8079d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3846be",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 233.731,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46099,
    "c": 0.18665,
    "h": 271.7
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3846BE

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

Preview Lab → · Contrast checker → · Palette generator →

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