#3846BC#3846BC

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

Color values

HEX#3846BC
RGBrgb(56, 70, 188)
HSLhsl(234, 54%, 48%)
HSVhsv(234, 70%, 74%)
CMYKcmyk(70.2%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.70, 34.10, -63.71)
CIE-LCHlch(35.70, 72.26, 298.15°)
OKLaboklab(45.92% 0.0056 -0.1839)
OKLCHoklch(45.92% 0.184 271.7)
XYZxyz(12.8951, 8.8506, 48.5960)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846BC #BCAE38
analogous
#3888BC #3846BC #6C38BC
triadic
#3846BC #BC3846 #46BC38
tetradic
#3846BC #BC3888 #BCAE38 #38BC6C
square
#3846BC #BC3888 #BCAE38 #38BC6C
split-complementary
#3846BC #BC6C38 #88BC38
monochromatic
#1C235E #2A348D #3846BC #616DD0 #9099DE

Accessibility & contrast

On white

7.58
#3846BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3846BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3846BC#FFFFFF#000000##FFFFFF
##3846BC1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3846bc;
/* rgb */ color: rgb(56, 70, 188);
/* oklch */ color: oklch(45.9% 0.184 271.7);
Tailwind
colors: {
  custom: {
    50: '#8079d1',
    500: '#3846bc',
    950: '#000000',
  },
}
SCSS
$custom: #3846bc;
$custom-light: #8079d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3846bc",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 233.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18402,
    "h": 271.7
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3846BC

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

Preview Lab → · Contrast checker → · Palette generator →

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