#3846BF#3846BF

#3846BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.188 H 271.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3846BF
RGBrgb(56, 70, 191)
HSLhsl(234, 55%, 48%)
HSVhsv(234, 71%, 75%)
CMYKcmyk(70.7%, 63.4%, 0%, 25.1%)
CIE-LABlab(35.95, 35.16, -65.06)
CIE-LCHlch(35.95, 73.95, 298.39°)
OKLaboklab(46.19% 0.0055 -0.1879)
OKLCHoklch(46.19% 0.188 271.7)
XYZxyz(13.2218, 8.9814, 50.3169)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846BF #BFB138
analogous
#3889BF #3846BF #6D38BF
triadic
#3846BF #BF3846 #46BF38
tetradic
#3846BF #BF3889 #BFB138 #38BF6D
square
#3846BF #BF3889 #BFB138 #38BF6D
split-complementary
#3846BF #BF6D38 #89BF38
monochromatic
#1C2360 #2A3590 #3846BF #636ED1 #929ADF

Accessibility & contrast

On white

7.51
#3846BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3846BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3846BF#FFFFFF#000000##FFFFFF
##3846BF1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3846bf;
/* rgb */ color: rgb(56, 70, 191);
/* oklch */ color: oklch(46.2% 0.188 271.7);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3846bf',
    950: '#000000',
  },
}
SCSS
$custom: #3846bf;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3846bf",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 233.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46188,
    "c": 0.18796,
    "h": 271.7
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#3846BF
secondary
#CAC389
accent
#CF4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3846BF

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

Preview Lab → · Contrast checker → · Palette generator →

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