#3846BA#3846BA

#3846BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.181 H 271.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3846BA
RGBrgb(56, 70, 186)
HSLhsl(234, 54%, 47%)
HSVhsv(234, 70%, 73%)
CMYKcmyk(69.9%, 62.4%, 0%, 27.1%)
CIE-LABlab(35.53, 33.39, -62.81)
CIE-LCHlch(35.53, 71.13, 297.99°)
OKLaboklab(45.75% 0.0057 -0.1813)
OKLCHoklch(45.75% 0.181 271.8)
XYZxyz(12.6810, 8.7650, 47.4684)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846BA #BAAC38
analogous
#3887BA #3846BA #6B38BA
triadic
#3846BA #BA3846 #46BA38
tetradic
#3846BA #BA3887 #BAAC38 #38BA6B
square
#3846BA #BA3887 #BAAC38 #38BA6B
split-complementary
#3846BA #BA6B38 #87BA38
monochromatic
#1C235C #2A348B #3846BA #606CCF #8F98DD

Accessibility & contrast

On white

7.63
#3846BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3846BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846BA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846BA#FFFFFF#000000##FFFFFF
##3846BA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3846ba;
/* rgb */ color: rgb(56, 70, 186);
/* oklch */ color: oklch(45.7% 0.181 271.8);
Tailwind
colors: {
  custom: {
    50: '#8079d0',
    500: '#3846ba',
    950: '#000000',
  },
}
SCSS
$custom: #3846ba;
$custom-light: #8079d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3846ba",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 233.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.18137,
    "h": 271.8
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#3846BA
secondary
#C8C186
accent
#CD4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3846BA

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

Preview Lab → · Contrast checker → · Palette generator →

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